Commit 308f7ba180862112b6ffcbf448102cc31dc1d152

Authored by wangfan
1 parent 7e41a39e

预约安排

Showing 1 changed file with 10 additions and 1 deletions
... ... @@ -60,7 +60,15 @@ function rpc(host='',act,data={},fouce=false,header={},silence=true,cachetime=0,
if(formids){
wx.removeStorage({key:'formids'});
}
let enter_params = wx.getStorageSync('enter_params');
let operator=''
if(enter_params){
operator=JSON.stringify({
uid:enter_params.manager_id,
openid: enter_params.seller_openid,
sid:enter_params.seller_id,
})
}
wx.request({
url: host+act,
method: 'POST',
... ... @@ -69,6 +77,7 @@ function rpc(host='',act,data={},fouce=false,header={},silence=true,cachetime=0,
...header,
openid:openid,
formids:formids.toString(),
operator:operator,
'content-type': 'application/x-www-form-urlencoded'
},
success: function (res) {
... ...