diff --git a/app.js b/app.js index 1552c87..8f07bc1 100644 --- a/app.js +++ b/app.js @@ -38,7 +38,7 @@ App({ // 获取前端配置文件 commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest110? true : false; + data.isTest = data.isTest115? true : false; data.indexSeason = null this.globalData.configJson = data }).then(() => { diff --git a/pages/index/index.js b/pages/index/index.js index 4a6910b..ee475ca 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -41,6 +41,13 @@ Page({ activeBannerIndex: 0, smBannerIndex: 0, ztBannerIndex: 0, + bannerDataListFake: [ + { + title: "景点门票", + img: "https://static.ticket.sz-trip.com/uploads/20250526/5934b8b77b058ce1de5943adbaf51739.png", + path: "/pages/list/scene/index", + }, + ], // banner上的金刚区 bannerDataList: [ diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 468f1b3..dbf5f65 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -94,8 +94,8 @@ - - {{item.title}} + + {{item.title}} {{item.price/100}} @@ -325,8 +325,8 @@ @@ -339,7 +339,7 @@ - + @@ -347,6 +347,20 @@ + + + + + + + + + + + + + diff --git a/pages/pbService/aiHelpYou/index.js b/pages/pbService/aiHelpYou/index.js index 3626d93..9ad6fbd 100644 --- a/pages/pbService/aiHelpYou/index.js +++ b/pages/pbService/aiHelpYou/index.js @@ -18,7 +18,11 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - let weburl = 'https://test.m.cloud.sz-trip.com/aiPlay?noShowHeaderBack=true' + let weburl = 'https://m.cloud.sz-trip.com/aiPlay?noShowHeaderBack=true' + if (app.globalData.configJson.isTest) { + weburl = "https://m.cloud.sz-trip.com/ScenicComfort" + } + let token = wx.getStorageSync('jstrip_token') if (token) { weburl += '&token='+token diff --git a/utils/https.js b/utils/https.js index 1a81b17..67031b4 100644 --- a/utils/https.js +++ b/utils/https.js @@ -1,8 +1,8 @@ var app = getApp(); import util from "../utils/util" // import userApi from "../utils/https/user.js"; -const baseUrl = "https://test.api.cloud.sz-trip.com/api/"; -// let baseUrl = "https://api.cloud.sz-trip.com/api/"; +// const baseUrl = "https://test.api.cloud.sz-trip.com/api/"; +let baseUrl = "https://api.cloud.sz-trip.com/api/"; const env = wx.getAccountInfoSync().miniProgram.envVersion if (env == 'develop1') { baseUrl = "https://test.api.cloud.sz-trip.com/api/"