Commit c2128e2b735332bcdef7e84e0631a10b0bbaceb0

Authored by pengye
1 parent f326e8ca

注册店铺改成多次点击,每隔10秒执行一次

... ... @@ -110,6 +110,9 @@ Page({
if (!this.data.rname) {
return util.toast('请输入您的姓名', 'none')
}
wx.showLoading({
title: '提交中,请稍后!',
})
let obj = {
sellername,
phone,
... ... @@ -129,8 +132,10 @@ Page({
openid: getApp().openid,
}).then(res => {
if (res.ret != 200) {
wx.hideLoading()
return util.toast(res.msg, 'none')
}
wx.hideLoading()
if(this.data.phone!='18601216909') {
this.sendIntentionFun()
}else{
... ... @@ -139,7 +144,7 @@ Page({
})
}
})
},3000),
},10000),
// 发送意向店铺通知短信
sendIntentionFun(){
App.SaiYouYun.SendIntention({
... ...