Home > Mobile >  WeChat page authorization, how to adjust the user authorization page again?
WeChat page authorization, how to adjust the user authorization page again?

Time:09-23

: through WeChat sweep a clean code to open the web page, when entering this page needs to obtain WeChat user authorization, use is authorized, silent snsapi_userinfo way, the first scan code can mix WeChat user authorization page, but when a user to authorize, is less than the user information, and sweep the code into the next time this page will no longer bring up the user authorization page,
Excuse me is there a listen for an event when a user to authorize, and how to again in the circumstance that does not have access to the user permissions the user authorization page?

CodePudding user response:

By first wx. GetSetting (OBJECT) details for current permissions, judge whether to have the user information access, if there is no display a bullet box use & lt; The button open - type="getUserInfo & gt;" Arouse the authorization window

CodePudding user response:

 asd 

CodePudding user response:

1/f, reference wind 灬 cloud response:
by first wx. GetSetting (OBJECT) details for current permissions, judge whether to have the user information access, if there is no display a bullet box use & lt; The button open - type="getUserInfo & gt;" Arouse the authorization window


The solution? This can only be small programs, web page?
  • Related