Commit 0e64c374910410f94d5ee46aa6e5db30fa38093e

Authored by yiren
1 parent ee53d991

”商家给预订人发起邀请函路径判断”

... ... @@ -135,12 +135,14 @@ Page({
openid:opt.openid
})
}
let sid=res.data.sid
if (!res.data.openid) {//无预订人
url = '/pages/customer/detail_owner';
if (opt.hasInvitation == 1) {
url = '/pages/customer/detail_owner_invitation';
}
if (opt.hasInvitation == 1 && (sid=='677' || sid=='26' ||sid=='8' ||sid=='4352')) {
url = '/pages/customer/detail_owner_invitation_new';
}else{
url = '/pages/customer/detail_owner_invitation';
}
} else {
url = '/pages/customer/detail_customer';
if (opt.hasInvitation == 1) {
... ... @@ -148,9 +150,11 @@ Page({
}
if (res.data.openid == opt.openid) {
url = '/pages/customer/detail_owner';
if (opt.hasInvitation == 1) {
url = '/pages/customer/detail_owner_invitation';
}
if (opt.hasInvitation == 1 && (sid=='677' || sid=='26' ||sid=='8' ||sid=='4352')) {
url = '/pages/customer/detail_owner_invitation_new';
}else{
url = '/pages/customer/detail_owner_invitation';
}
}
}
}
... ...