Showing
1 changed file
with
4 additions
and
6 deletions
| @@ -143,12 +143,10 @@ Page({ | @@ -143,12 +143,10 @@ Page({ | ||
| 143 | return openid; | 143 | return openid; |
| 144 | }, | 144 | }, |
| 145 | async SellerForOpenid(openid){ | 145 | async SellerForOpenid(openid){ |
| 146 | - let enter_params=util.cache('enter_params'); | ||
| 147 | - if(!enter_params){ | ||
| 148 | - let res=await App.Reserve.SellerForOpenid({openid:openid}); | ||
| 149 | - if(res.data && res.data.seller_id){ | ||
| 150 | - enter_params=res.data; | ||
| 151 | - } | 146 | + let enter_params=''; |
| 147 | + let res=await App.Reserve.SellerForOpenid({openid:openid}); | ||
| 148 | + if(res.data && res.data.seller_id){ | ||
| 149 | + enter_params=res.data; | ||
| 152 | } | 150 | } |
| 153 | if(enter_params) { | 151 | if(enter_params) { |
| 154 | console.log('seller_enter_params', enter_params) | 152 | console.log('seller_enter_params', enter_params) |
-
Please register or login to post a comment