Showing
1 changed file
with
6 additions
and
1 deletions
| @@ -54,7 +54,12 @@ Page({ | @@ -54,7 +54,12 @@ Page({ | ||
| 54 | }else{ | 54 | }else{ |
| 55 | this.islove=await util.cache('islove') | 55 | this.islove=await util.cache('islove') |
| 56 | } | 56 | } |
| 57 | - let usi=await App.Invitation.UserIdentity({openid:opt.openid}); | 57 | + let usi={data:{seller:{},invitation:{}}} |
| 58 | + try{ | ||
| 59 | + usi=await App.Invitation.UserIdentity({openid:opt.openid}); | ||
| 60 | + }catch (e){ | ||
| 61 | + console.log('App.Invitation.UserIdentity no usi'); | ||
| 62 | + } | ||
| 58 | if(usi.data.seller.flag){//商户 | 63 | if(usi.data.seller.flag){//商户 |
| 59 | //获得商户数据 | 64 | //获得商户数据 |
| 60 | //this.enter_params=await this.SellerForOpenid(opt.openid); | 65 | //this.enter_params=await this.SellerForOpenid(opt.openid); |
-
Please register or login to post a comment