From c14c04dcb4a8a01bf80bbc2cf7e4953637db5fb7 Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Thu, 11 Sep 2025 09:11:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BA=E5=8E=BF=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/component/proRec/proRec.js | 2 +- utils/https.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index caeee4c..3470599 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.isTest131? true : false; + data.isTest = data.isTest132? true : false; data.indexSeason = null this.globalData.configJson = data }).then(() => { diff --git a/pages/component/proRec/proRec.js b/pages/component/proRec/proRec.js index ebe399b..e76f3c7 100644 --- a/pages/component/proRec/proRec.js +++ b/pages/component/proRec/proRec.js @@ -33,7 +33,7 @@ Component({ 'ids': function(newVal,oldVal){ console.log('newVal--------',newVal) console.log('oldVal--------',oldVal) - if (newVal) { + if (newVal && this.data.tjList.length<=0) { this.getTj(newVal) } } diff --git a/utils/https.js b/utils/https.js index c120ad9..ac1e739 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/"