Commit d1885bff19c8cc3482194de96fe361f20aae7fab

Authored by vking
1 parent 104fac59

更换短信逻辑

Showing 1 changed file with 5 additions and 1 deletions
... ... @@ -17,6 +17,7 @@ Page({
*/
onLoad: function (options) {
this.options=options;
this.enter_params=util.cache('enter_params');
this.getDetail();
},
... ... @@ -56,7 +57,10 @@ Page({
})
},
sendsms(){
App.SendSMS.NewMessage({rid: this.options.id}).then(res=>{
App.SendSMS.NewMessage({
rid: this.options.id,
sid:this.enter_params.seller_id,
}).then(res=>{
if (res.ret != 200) {
return util.toast(res.msg, 'none');
}
... ...