Commit 14c69db348a15f2f6e60e8d23ecd6df8b044b00e

Authored by vking
1 parent defe324f

fix usi timeout

Showing 1 changed file with 6 additions and 1 deletions
... ... @@ -54,7 +54,12 @@ Page({
}else{
this.islove=await util.cache('islove')
}
let usi=await App.Invitation.UserIdentity({openid:opt.openid});
let usi={data:{seller:{},invitation:{}}}
try{
usi=await App.Invitation.UserIdentity({openid:opt.openid});
}catch (e){
console.log('App.Invitation.UserIdentity no usi');
}
if(usi.data.seller.flag){//商户
//获得商户数据
//this.enter_params=await this.SellerForOpenid(opt.openid);
... ...