Commit d1885bff19c8cc3482194de96fe361f20aae7fab

Authored by vking
1 parent 104fac59

更换短信逻辑

Showing 1 changed file with 5 additions and 1 deletions
@@ -17,6 +17,7 @@ Page({ @@ -17,6 +17,7 @@ Page({
17 */ 17 */
18 onLoad: function (options) { 18 onLoad: function (options) {
19 this.options=options; 19 this.options=options;
  20 + this.enter_params=util.cache('enter_params');
20 this.getDetail(); 21 this.getDetail();
21 }, 22 },
22 23
@@ -56,7 +57,10 @@ Page({ @@ -56,7 +57,10 @@ Page({
56 }) 57 })
57 }, 58 },
58 sendsms(){ 59 sendsms(){
59 - App.SendSMS.NewMessage({rid: this.options.id}).then(res=>{ 60 + App.SendSMS.NewMessage({
  61 + rid: this.options.id,
  62 + sid:this.enter_params.seller_id,
  63 + }).then(res=>{
60 if (res.ret != 200) { 64 if (res.ret != 200) {
61 return util.toast(res.msg, 'none'); 65 return util.toast(res.msg, 'none');
62 } 66 }