Commit 0e64c374910410f94d5ee46aa6e5db30fa38093e

Authored by yiren
1 parent ee53d991

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

@@ -135,12 +135,14 @@ Page({ @@ -135,12 +135,14 @@ Page({
135 openid:opt.openid 135 openid:opt.openid
136 }) 136 })
137 } 137 }
138 - 138 + let sid=res.data.sid
139 if (!res.data.openid) {//无预订人 139 if (!res.data.openid) {//无预订人
140 url = '/pages/customer/detail_owner'; 140 url = '/pages/customer/detail_owner';
141 - if (opt.hasInvitation == 1) {  
142 - url = '/pages/customer/detail_owner_invitation';  
143 - } 141 + if (opt.hasInvitation == 1 && (sid=='677' || sid=='26' ||sid=='8' ||sid=='4352')) {
  142 + url = '/pages/customer/detail_owner_invitation_new';
  143 + }else{
  144 + url = '/pages/customer/detail_owner_invitation';
  145 + }
144 } else { 146 } else {
145 url = '/pages/customer/detail_customer'; 147 url = '/pages/customer/detail_customer';
146 if (opt.hasInvitation == 1) { 148 if (opt.hasInvitation == 1) {
@@ -148,9 +150,11 @@ Page({ @@ -148,9 +150,11 @@ Page({
148 } 150 }
149 if (res.data.openid == opt.openid) { 151 if (res.data.openid == opt.openid) {
150 url = '/pages/customer/detail_owner'; 152 url = '/pages/customer/detail_owner';
151 - if (opt.hasInvitation == 1) {  
152 - url = '/pages/customer/detail_owner_invitation';  
153 - } 153 + if (opt.hasInvitation == 1 && (sid=='677' || sid=='26' ||sid=='8' ||sid=='4352')) {
  154 + url = '/pages/customer/detail_owner_invitation_new';
  155 + }else{
  156 + url = '/pages/customer/detail_owner_invitation';
  157 + }
154 } 158 }
155 } 159 }
156 } 160 }