-
Status changed to merged
-
mentioned in commit 910fc48de4d45bd80027ae5d9a1a762a01265e4c
Showing
1 changed file
packageA/pages/profile/profile.js
... | ... | @@ -772,7 +772,8 @@ Page({ |
772 | 772 | data:{store_id:r.stoid,user_id:uid,lbid:lbid,act_type:7} |
773 | 773 | }).then(res=>{ |
774 | 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 | 777 | is_ling=1; |
777 | 778 | } |
778 | 779 | //没有领过礼包,就显示 | ... | ... |