Commit 9134b8ef92c49463b910e8af88a3b967281e0e56

Authored by vking
1 parent 83569ad6

对接商户端跳入

... ... @@ -40,6 +40,10 @@ Page({
this.reserveId=opt.rid
delete opt.rid
}
if(opt.goPath){//商户端跳入带入的参数
this.goPath=opt.goPath
delete opt.goPath
}
this.indexOpt=opt;
mta.Page.init({
"appID":"500667280",
... ... @@ -108,6 +112,11 @@ Page({
url:url
})
}
if(this.goPath){
return wx.reLaunch({
url:'./'+this.goPath
})
}
},
async getbooklist(isExport=false){
let time=0;
... ...
... ... @@ -220,7 +220,7 @@
"id": 21,
"name": "预订本-80商家",
"pathName": "pack-book/pages/book/b_index",
"query": "seller_id=80&seller_openid=oGefL4qKBWIh5xwyg3LVfkMbDumA&manager_id=763&rid=33354",
"query": "seller_id=80&seller_openid=oGefL4qKBWIh5xwyg3LVfkMbDumA&manager_id=763&goPath=b_addnew",
"scene": 1001
},
{
... ...