diff --git a/app.js b/app.js index 53235e3..ccb16dc 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.isTest154? true : false; + data.isTest = data.isTest155? true : false; data.indexSeason = null this.globalData.configJson = data }).then(() => { diff --git a/pages/order/road/index.js b/pages/order/road/index.js index 96de141..9c368f0 100644 --- a/pages/order/road/index.js +++ b/pages/order/road/index.js @@ -69,7 +69,7 @@ Page({ }) }, initDate(){ - let today = new Date(),month1 = today.getMonth()+1,month2 = (month1 + 1) % 12,year = today.getFullYear(),year2 = month112? (month1 + 1)% 12:(month1+1),year = today.getFullYear(),year2 = month1