When a third-party platform helps its authorized applets manage code, you must first develop and complete the applet template, and then deploy the applet template to its applet account. the procedure is as follows: when a third-party platform helps its authorized applets manage code, you must first develop and complete the applet template, and then deploy the applet template to its applet account. the procedure is as follows:
Step 1: bind the development applet
(1) third-party platform developers must first apply for an ordinary applet on the public platform (mp.weixin.qq.com), complete the information of the applet, and bind the developer.
(2) enter the open platform. in the third-party platform details, add the applet as a development applet.
Note: after being bound to a development applet, the applet is uploaded to the development tool. the code is directly uploaded to the open platform and not to the public platform.
Step 2: develop and upload small program templates
Log on to the web developer tool (IDE) with the developer id of the development applet, and perform code development and debugging in the developer tool according to the normal applet development process. After the development is complete, click upload in the development tool. For details, see developer tools.
Step 3: add it to the applet template library to obtain the template ID
The code uploaded from the developer tool will first exist in the draft box, and each development applet only keeps the latest Upload record. Developers can add the code in the draft box to the small program template library, and the template in the small program template library will not be overwritten. You can have up to 50 code templates. after adding templates, you can get the template ID (TemplateID ).
Step 4: Call the interface to deploy code for the authorized applet
For specific interfaces, see the interfaces in the "code management" document.
Tips:
After a applet is authorized for hosting, it can only use the server address registered on the third-party platform. Therefore, before a third-party platform helps its public account to publish code, it must first set the server address to the server address of the applet. For more information about setting interfaces, see the interface in the "modify server address" document.
The above is the detailed content of the procedure (mini-program tutorial) for authorizing a third party to manage development. For more information, see other related articles in the first PHP community!