|
...
|
...
|
@@ -74,6 +74,21 @@ Page({ |
|
|
|
if (res.ret != 200) {
|
|
|
|
return util.toast(res.msg, 'none')
|
|
|
|
}
|
|
|
|
this.sendIntentionFun()
|
|
|
|
})
|
|
|
|
},
|
|
|
|
// 发送意向店铺通知短信
|
|
|
|
sendIntentionFun(){
|
|
|
|
App.SaiYouYun.SendIntention({
|
|
|
|
shopname:this.data.sellername.trim(),
|
|
|
|
shopnumber:this.data.phone.trim(),
|
|
|
|
name:this.data.rname.trim(),
|
|
|
|
address: this.data.map_address,
|
|
|
|
openid: getApp().openid,
|
|
|
|
}).then(res => {
|
|
|
|
if (res.ret != 200) {
|
|
|
|
return util.toast(res.msg, 'none')
|
|
|
|
}
|
|
|
|
wx.redirectTo({
|
|
|
|
url: '/pages/customer/collectSeller',
|
|
|
|
})
|
...
|
...
|
|