作者 朱振飞

保单修改

... ... @@ -9,7 +9,7 @@ App({
var promise = new Promise((resolve, reject) => {
let that = this;
let postData = data;
let baseUrl = 'http://insurance.w.bronet.cn/';
let baseUrl = 'https://insurance.w.broteam.cn/';
wx.request({
url: baseUrl + url,
data: postData,
... ...
... ... @@ -310,10 +310,12 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
this.setData({
cid: options.cid, //顾问ID
mainid: options.mainid //户主ID
})
options.cid?(this.setData({
cid: options.cid,
})):''
options.mainid?this.setData({
mainid: options.id
}):''
this.getData()
cellId = options.cellId;
... ...
... ... @@ -4,11 +4,12 @@
"ignore": []
},
"setting": {
"urlCheck": false,
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": true,
"newFeature": true
"newFeature": true,
"autoAudits": false
},
"compileType": "miniprogram",
"libVersion": "2.4.0",
... ...