WX applet - 3

Login process: wx.login( )

wx.login(Object object) | WeChat Open Documentation WeChat Developer Platform Documentation https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.login.html

front end:

Applet, wx.login() get code => wx.request() send code

rear end:

Developer server, => login credential verification interface appid appsecret code

WeChat interface service session key + openid, etc.

Loading by subcontract: the total package with subcontract does not exceed 20M, and the total package without subcontract does not exceed 2M

Use lazy loading to improve access speed and user experience

Subpackage loading | WeChat Open Documentation WeChat Developer Platform Documentation https://developers.weixin.qq.com/miniprogram/dev/framework/subpackages/basic.html

If there is no subpackage, it may be generated: the file is larger than 2M, and the upload is not allowed, and the preview is not allowed

Subcontract each file is not larger than 2M, solve

Subcontracting cannot be subcontracted. After subcontracting, it still exceeds 2M. Try to lose weight, eg: put videos and pictures on the server

Publish project:

The version number cannot be rolled back (check the audit rules, change it, call it back...)

Guess you like

Origin blog.csdn.net/qq_60839348/article/details/130593467