Commit 48999b8ee39313b5f37e0f29880756fb01710259

Authored by vking
1 parent 6082cf9a

更换短信逻辑

Showing 1 changed file with 3 additions and 2 deletions
... ... @@ -68,7 +68,7 @@ Page({
this.bookInfo=res.data
if(res.data.operator_openid==2){//运营处理订单,强制使用运营短信
this.tplsIndex='SMS_173950289'
params.template_code='SMS_173950289'
params.template_code=this.tplsIndex
}
let msg=await App.SendSMS.GetSmsContent(params);
//let tplMsg=await ST.getTplMsg(res.data,this.tplsIndex,this.sc)
... ... @@ -83,7 +83,8 @@ Page({
sendsms(){
App.SendSMS.NewMessage({
rid: this.bookInfo.id,
sid: this.bookInfo.seller.id
sid: this.bookInfo.seller.id,
template_code:this.tplsIndex,
}).then(res=>{
if (res.ret != 200) {
return util.toast(res.msg, 'none');
... ...