A, QA
1, how to help businesses release small programs?
2. How do small programs go through our C-side business process?
3. How to set up the development configuration of small programs for merchants?
4, how to update the small program? How is versioning done?
5. How to handle payment in applets?
6. How to handle login in applets?
Second, small program development process
Third, business small program development process
1, do not provide small program agent registration ability
(1) Business registration applet main body
Different subject difference: ability to pay, business category
Reference: developers.weixin.qq.com/minigame/pr…
(2) Small program ability to pay
Other payment methods other than wechat Pay cannot be used in the mini program
Small program overseas payment: overseas local service providers provide settlement, currency conversion and other capabilities
Reference: pay.weixin.qq.com/index.php/p…
2. Automatic packaging and uploading capability is not provided for the time being
(1) Applets provide the interface to submit code to the development applets draft box (development management Settings)
Reference: developers.weixin.qq.com/miniprogram…
(2) Upload small program code
Configure AppId, package compilation, preview function and UI in project configuration, click upload
Iv. Missing parts: wechat Open Platform (third-party platform)
1. Who is the third party: We are the third party
Third party positioning: to become a third party platform to provide operation services and industry solutions for the majority of public accounts and small programs
2. How to become a third party
(1) Test third-party platforms
Test content:
Authorization event receipt URL: the callback address to which the merchant authorizes his applets to us
Message event receiving URL: Validates ticket push
Binding development applets for publishing related operations
(2) Apply for the publication of the whole network
Before the release of the whole network is equivalent to the internal test stage, can only be bound to the development of small procedures for development, review, release
After the release of the whole network, only with operational qualifications, other small programs can be authorized to us
3. What can third-party platforms do
(1) Accept the authorization of small programs from merchants
(2) Carry out small program registration, development, submission and review, release, category management and violation appeal on behalf of merchants
Reference: developers.weixin.qq.com/doc/oplatfo…
4, verify the role of the bill
(1) Structure of merchant authorization link:
(2) Obtain API call tokens related to applets release and management
Reference: developers.weixin.qq.com/doc/oplatfo…
5, small program login
(1) the development: developers.weixin.qq.com/miniprogram…
(2) the third party development: developers.weixin.qq.com/doc/oplatfo…
The difference is that the applets developed by themselves are passed AppId and AppSecret, while the applets developed by third parties are passed AppId and API call token
Five, small program release management
1. Small program release management platform
Here we need three developers according to the API of wechat small program, to facilitate the release
2. Business development and configuration of small programs
Call Settings through wechat API interface: mainly business domain name, interface domain name and resource domain name
Third-party link forwarding problem in the mini program: The third-party link forwarding problem and the page containing the third-party IFrame cannot be displayed
3. How to go through the C-end process of small business programs
(1) Change the domain name —-> store information to AppId—–> store information
The authorization process will bind the AppId to the store, and the small program end will query the store information through the AppId
(2) Small program is batch release, each small program how to get their own corresponding AppId
When publishing, traverse the list of merchants, call the interface of upload code, and pass in the corresponding parameters
Get the configuration data by calling wechat wx.geTextConfigsync
Some tools for applets
miniprogram-ci
In addition to submitting code through developer tools, you can also submit code through miniProgram-CI. DirectCommit also works with CI tools;
Pay attention to the point
- If a business party authorizes multiple third-party platforms, the permissions will have a set of mutually exclusive applet permissions
- The third party mini-program question limit mechanism; Third party small program review limit optimization
Welcome to discuss
@shengxi