Commit 2b23e6b35db86f75b7428daa01ca8ea40dc261d9

Authored by 后端研发-苏明海
2 parents 992445d5 910fc48d

Merge branch 'test' into 'qa'

Test

See merge request !1058
packageA/pages/profile/profile.js
@@ -772,7 +772,8 @@ Page({ @@ -772,7 +772,8 @@ Page({
772 data:{store_id:r.stoid,user_id:uid,lbid:lbid,act_type:7} 772 data:{store_id:r.stoid,user_id:uid,lbid:lbid,act_type:7}
773 }).then(res=>{ 773 }).then(res=>{
774 var is_ling=0; 774 var is_ling=0;
775 - if(res.data.code==0 && res.data.data && res.data.data.total>0){ 775 + //-1就表示有领过
  776 + if(res.data.code==-1 ){
776 is_ling=1; 777 is_ling=1;
777 } 778 }
778 //没有领过礼包,就显示 779 //没有领过礼包,就显示