Commit 7a12a35333e54eb53dca9e37e585d462762690e7

Authored by season
1 parent df41ca2f

会员中心先注释助力按钮

Showing 1 changed file with 10 additions and 10 deletions
pages/user/index/index.js
@@ -494,17 +494,17 @@ Page({ @@ -494,17 +494,17 @@ Page({
494 }, 494 },
495 // 判断助力活动是不是存在 495 // 判断助力活动是不是存在
496 is_assistance:function(){ 496 is_assistance:function(){
497 - var th = this;  
498 - rq.get("/api/weshop/marketing/help/act/judge", {  
499 - data: { storeId: os.stoid, userId: app_d.user_id },  
500 - success: function (res) {  
501 - var code = res.data.code;  
502 - if (code == 0) {  
503 - th.setData({ is_assistance:1});  
504 - } 497 + // var th = this;
  498 + // rq.get("/api/weshop/marketing/help/act/judge", {
  499 + // data: { storeId: os.stoid, userId: app_d.user_id },
  500 + // success: function (res) {
  501 + // var code = res.data.code;
  502 + // if (code == 0) {
  503 + // th.setData({ is_assistance:1});
  504 + // }
505 505
506 - }  
507 - }) 506 + // }
  507 + // })
508 508
509 } 509 }
510 510