|
@@ -74,6 +74,21 @@ Page({ |
|
@@ -74,6 +74,21 @@ Page({ |
|
74
|
if (res.ret != 200) {
|
74
|
if (res.ret != 200) {
|
|
75
|
return util.toast(res.msg, 'none')
|
75
|
return util.toast(res.msg, 'none')
|
|
76
|
}
|
76
|
}
|
|
|
|
77
|
+ this.sendIntentionFun()
|
|
|
|
78
|
+ })
|
|
|
|
79
|
+ },
|
|
|
|
80
|
+ // 发送意向店铺通知短信
|
|
|
|
81
|
+ sendIntentionFun(){
|
|
|
|
82
|
+ App.SaiYouYun.SendIntention({
|
|
|
|
83
|
+ shopname:this.data.sellername.trim(),
|
|
|
|
84
|
+ shopnumber:this.data.phone.trim(),
|
|
|
|
85
|
+ name:this.data.rname.trim(),
|
|
|
|
86
|
+ address: this.data.map_address,
|
|
|
|
87
|
+ openid: getApp().openid,
|
|
|
|
88
|
+ }).then(res => {
|
|
|
|
89
|
+ if (res.ret != 200) {
|
|
|
|
90
|
+ return util.toast(res.msg, 'none')
|
|
|
|
91
|
+ }
|
|
77
|
wx.redirectTo({
|
92
|
wx.redirectTo({
|
|
78
|
url: '/pages/customer/collectSeller',
|
93
|
url: '/pages/customer/collectSeller',
|
|
79
|
})
|
94
|
})
|