Showing
1 changed file
with
3 additions
and
2 deletions
| @@ -68,7 +68,7 @@ Page({ | @@ -68,7 +68,7 @@ Page({ | ||
| 68 | this.bookInfo=res.data | 68 | this.bookInfo=res.data |
| 69 | if(res.data.operator_openid==2){//运营处理订单,强制使用运营短信 | 69 | if(res.data.operator_openid==2){//运营处理订单,强制使用运营短信 |
| 70 | this.tplsIndex='SMS_173950289' | 70 | this.tplsIndex='SMS_173950289' |
| 71 | - params.template_code='SMS_173950289' | 71 | + params.template_code=this.tplsIndex |
| 72 | } | 72 | } |
| 73 | let msg=await App.SendSMS.GetSmsContent(params); | 73 | let msg=await App.SendSMS.GetSmsContent(params); |
| 74 | //let tplMsg=await ST.getTplMsg(res.data,this.tplsIndex,this.sc) | 74 | //let tplMsg=await ST.getTplMsg(res.data,this.tplsIndex,this.sc) |
| @@ -83,7 +83,8 @@ Page({ | @@ -83,7 +83,8 @@ Page({ | ||
| 83 | sendsms(){ | 83 | sendsms(){ |
| 84 | App.SendSMS.NewMessage({ | 84 | App.SendSMS.NewMessage({ |
| 85 | rid: this.bookInfo.id, | 85 | rid: this.bookInfo.id, |
| 86 | - sid: this.bookInfo.seller.id | 86 | + sid: this.bookInfo.seller.id, |
| 87 | + template_code:this.tplsIndex, | ||
| 87 | }).then(res=>{ | 88 | }).then(res=>{ |
| 88 | if (res.ret != 200) { | 89 | if (res.ret != 200) { |
| 89 | return util.toast(res.msg, 'none'); | 90 | return util.toast(res.msg, 'none'); |
-
Please register or login to post a comment