|
...
|
...
|
@@ -78,16 +78,19 @@ Page({ |
|
|
|
let seller=res.data
|
|
|
|
console.log('App',App)
|
|
|
|
let openid=await getApp().getOpenid()
|
|
|
|
let qrcode=await App.Other.generate_qrcode({
|
|
|
|
tpl_id: 25415,
|
|
|
|
code_type: 'wxcode',
|
|
|
|
'param_value[0]':options.id,
|
|
|
|
'param_value[1]':openid,
|
|
|
|
'param_value[2]':this.options.hasSellerShare||''
|
|
|
|
});
|
|
|
|
|
|
|
|
let qrcode=util.http_build_query({
|
|
|
|
path:'pages/reserve/detail',
|
|
|
|
param:JSON.stringify({
|
|
|
|
id:options.id,
|
|
|
|
fromid:openid,
|
|
|
|
hasSellerShare:this.options.hasSellerShare||''
|
|
|
|
})
|
|
|
|
},util.cgi('App.System.GetWxLiteCode'))
|
|
|
|
console.log('qrcode',qrcode);
|
|
|
|
this.setData({
|
|
|
|
seller:seller,
|
|
|
|
qrcode:qrcode.data.replace('http://','https://'),
|
|
|
|
qrcode:qrcode,
|
|
|
|
hasLoadData:true,
|
|
|
|
})
|
|
|
|
setTimeout(()=>{
|
...
|
...
|
|