- 
Status changed to merged 
- 
mentioned in commit 2b23e6b35db86f75b7428daa01ca8ea40dc261d9 
- 
Dev See merge request !1057 
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 | //没有领过礼包,就显示 | ... | ... | 
