Browse Source

需还原

master
jiazhipeng 4 months ago
parent
commit
02287afa94
  1. 3
      pages/order/road/index.js
  2. 5
      pages/pbService/aiHelpYou/index.js
  3. 4
      utils/https.js

3
pages/order/road/index.js

@ -83,7 +83,6 @@ Page({
start_date:util.formatDate(today), start_date:util.formatDate(today),
end_date:year2+"/"+month2+"/"+monthDays2[0] end_date:year2+"/"+month2+"/"+monthDays2[0]
}).then(res=>{ }).then(res=>{
if (!res || res.code != 1) return
let prices={}; let prices={};
res.data.map(item=>{ res.data.map(item=>{
// 给规格排序 // 给规格排序
@ -125,7 +124,7 @@ Page({
monthIndex:selectMonth==month1?0:1 monthIndex:selectMonth==month1?0:1
}) })
this.changePrice() this.changePrice()
}) }).catch(e=>{console.log(e)})
}, },
// 获取这个月有几天 // 获取这个月有几天
getMonthDays:function(month,year){ getMonthDays:function(month,year){

5
pages/pbService/aiHelpYou/index.js

@ -18,7 +18,10 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
let weburl = 'https://m.cloud.sz-trip.com/aiPlay?noShowHeaderBack=true' // let weburl = 'https://m.cloud.sz-trip.com/aiPlay?noShowHeaderBack=true'
let weburl = "https://test.m.cloud.sz-trip.com/OneDayTravelNew?token=c6374181-3976-4e73-b82a-7b66cf504e0e"
this.setUrl(weburl)
return
if (app.globalData.configJson.isTest) { if (app.globalData.configJson.isTest) {
weburl = "https://m.cloud.sz-trip.com/ScenicComfort?a=1" weburl = "https://m.cloud.sz-trip.com/ScenicComfort?a=1"
} }

4
utils/https.js

@ -1,8 +1,8 @@
var app = getApp(); var app = getApp();
import util from "../utils/util" import util from "../utils/util"
// import userApi from "../utils/https/user.js"; // import userApi from "../utils/https/user.js";
// const baseUrl = "https://test.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/"; // let baseUrl = "https://api.cloud.sz-trip.com/api/";
const env = wx.getAccountInfoSync().miniProgram.envVersion const env = wx.getAccountInfoSync().miniProgram.envVersion
if (env == 'develop1') { if (env == 'develop1') {
baseUrl = "https://test.api.cloud.sz-trip.com/api/" baseUrl = "https://test.api.cloud.sz-trip.com/api/"

Loading…
Cancel
Save