Summary of WeChat Mini Program Development Data

1. The Official Account can be associated with 3 Mini Programs of different subjects, and the Official Account can be associated with 10 Mini Programs of the same subject (that is, the same Official Account can be associated with 13 Mini Programs); the same Mini Program can be associated with up to 3 Mini Programs No public. In addition, WeChat opens the ability to associate mini-programs to all official accounts.

http://www.linkshop.com.cn/web/archives/2017/375519.shtml

Association rules:

  1. All Official Accounts can be associated with Mini Programs.
  2. One official account can be associated with 10 Mini Programs with the same subject and 3 Mini Programs with different subjects.
  3. A small program can be associated with 500 official accounts.
  4. The official account can add 13 new associated mini-programs per month, and the mini-program can be newly associated 500 times per month.

2. Personal mini programs cannot apply for WeChat payment. After applying for payment, you can bind the old merchant id.

3. The way to open the applet on the official account: menu, template message, article embedded and account attributes

4. The interface for generating applet code, which can generate applet code with parameters to realize the function of source tracking
https://developers.weixin.qq.com/miniprogram/dev/api/qrcode.html

5. The mini program and the official account page jump to each other (the external h5 is not available, the official account article has been opened, refer to the calling interface )
https://www.cnblogs.com/colorful-paopao1/p/8608609.html
https:// www.jianshu.com/p/0d685a18bd0a

6. The applet obtains the mobile phone number

https://developers.weixin.qq.com/miniprogram/dev/api/getPhoneNumber.html

7. Mini Program Operation Specifications

8. When the user clicks "Show on top of chat", the background music will not be paused;

9. The size of local file storage is limited to 10M

10. Third-party developers , hosting the business development capabilities of small programs; authorization interface process

11. Description of unionid mechanism

12. Small program payment . The old merchant id can be bound after payment application. You must use openid instead of unionid when paying for small programs! Therefore, both should be saved when designing the library table. Unionid can be used as an account number, and openid can be used as payment.

13. Jump to the QR code setting of the applet: log in to the background of the applet, go to Settings - Development Settings, scroll to the bottom, find "Scan the QR code of the ordinary link to open the applet", and add it. Details are introduced .

For the old QR code, if you want to jump to the applet, you can define the jump rule: offline merchants do not need to replace the offline QR code. After completing the configuration in the background of the applet, users can scan the ordinary link. Open the applet when QR code, and use the function of the applet.

After testing this function, there is an inflexible place when creating a QR code rule. There is a path for the inspection file, not the root directory, which needs to be under the subdirectory, but the subdirectories of many frameworks of the directory are not actual subdirectories. To program to define or modify the configuration (such as https://tf.xxx.com/index.php/Mobile/Yun/index/), so special processing is required.

The generated QR code, if it is a developer account, will automatically pop up to the applet, and other users will still be directed to the h5 page.

14. The ability to load the h5 page in the applet ( link ), obtaining the geographic location in h5 requires authorization: the permission value is offline verifying, and the jsapi_ticket authorization process when the original official account was developed needs to be followed.

15. The process of opening the APP by the applet

Only the app that has shared the applet with the app first can open the app again. And it cannot be opened directly by the js api, only the user clicks to trigger the opening.

16. The entry list of the applet , that is, where can the applet be activated

17. If the h5 WeChat payment is embedded in the app, the app cannot be returned. You need to pop up the h5 page and go to the browser to pay;

Reminder: H5 payment is not recommended to be used on the APP side. If you need to use WeChat payment in the APP, please accept the APP payment. For details, please refer to the WeChat payment development document. Official description .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325154778&siteId=291194637