what my Mini Program needs is to help the backend get the unionid to get through the official account and Mini Program. I get the login status and maintain the login.
what my Mini Program needs is to help the backend get the unionid to get through the official account and Mini Program. I get the login status and maintain the login.
isn't this api disabled? You have to use the open-data button.
needs to obtain encryptedData and iv, and send them to the backend. The backend uses iv and cached session_key to decrypt the encryptedData with AES.
in general, you only need to send the code in wx.login to the backend, and the backend can exchange code for openid and unionid for login authentication.
if you also need to collect users' nicknames and profile pictures, gender, location and other information, you need wx.getUserInfo to obtain, but the new version of this API is not allowed, you need to use open-data.
Previous: Angular uses the same method to request two different interfaces with different request headers
I use wx.openLocation to adjust the map directly. The green button in the lower right corner of the iPhone allows me to choose the route, but there is no route option on Android. Why? ...
is it true that calling wx.openLocation, directly won t pop up the authorization box? I tried three phones but didn t play. Why does the official document say that authorization is needed? ...
I read the official document that this API has been adjusted, and there will be no authorization pop-up window using this API. Please use < button open-type= "getUserInfo " > < button > to guide the user to take the initiative to authorize the operati...
for example, when my md5 encryption js is placed in the utils folder, and the js of the page needs to be introduced into md5, what is the difference between using require introduction and import introduction? I think the official document says to use req...