Commit 283fc740b7999c68a1faf6ea6249b6411d055abb

Authored by pengye
1 parent dfe8a36b

发送意向店铺通知短信

... ... @@ -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',
})
... ...
... ... @@ -725,5 +725,10 @@ export default {
'App.SellerVersion.SetSellerCollect':{
openid:'openid'
},
// 发送意向店铺通知短信
'App.SaiYouYun.SendIntention':{
openid:'openid'
},
}
\ No newline at end of file
... ...