The latest comic applet source code building tutorial, with its own API interface, with background support for traffic master, automatic update

introduce:

This article introduces the source code of a comic WeChat applet, which has already been connected to the interface, no additional collection or other interfaces are needed, and the comics are automatically updated 24 hours a day without manual updates, and the source code of the comic applet has opened traffic The main function, the detailed construction tutorial is attached below.

build tutorial

Preparation:

1: Server (recommended cloud server)

2: Domain name registration (General cloud server associations provide this service, register the domain name you need)

3: Record domain name (first-level and second-level domain names are acceptable, go to ICP to record your registered domain name)

4: Purchase an SSL certificate (general cloud server providers provide this service, configure your SSL certificate after the domain name registration is completed)

5: Register a small program (go to the WeChat public platform to register)

6: Download the WeChat developer tool (you need to configure the background of your server when building it)

7: Download the comic applet source code

Mini program source code download address: https://download.csdn.net/download/weixin_55159054/87411443

Build environment:

Server PHP5.3 and above

Specific operation:

1: Upload the index.php file of the backend to the root directory of the site background, at this time your background is https://domain name/index.php

2: Open the WeChat developer tool and import the front-end file. Then you can configure your docking background. Change the file path in the app.js file to your own back-end file path, as shown in the figure

3: After saving, tick Do not verify the legal domain name, open the simulator to test, as shown in the figure

4: After the simulator test can be used normally, go to the WeChat public platform and write your legal domain name (that is, the three domain names of app.js), as shown in the figure

5: Then remove the unverified legal domain name of the emulator and conduct the emulator test again. After the test function is correct, carry out real machine debugging, as shown in the figure

6: After the debugging can be used normally, upload the applet, and then submit it for review in the version management function of the WeChat public platform.

7: After the review is passed, it will be submitted to go online, and it will be over.

Effect preview:

Actual effect preview:

Guess you like

Origin blog.csdn.net/weixin_55159054/article/details/128858527