search
HomeWeChat AppletMini Program DevelopmentEntry-level development process of WeChat mini program

Today, the editor will take you to learn how to make a WeChat applet. Friends who are interested must take a look. I hope you can gain something.

WeChat mini program development process:

  1. Enter the WeChat public platform and register a mini program account: https://mp.weixin.qq.com/
  2. Download WeChat developer tools. Download address: https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html
  3. Create a new project. Create an empty directory where the code is stored, open the WeChat Developer Tools, select the directory, and fill in the AppID (can be found in "WeChat Public Platform->Settings->Development Settings").
  4. How the applet calls the third-party interface.
    4.1. If you want to call the interface in the mini program, you must first configure the domain name. Enter "WeChat Public Platform->Settings->Development Settings->Server Domain Name". Add the domain name you want to use.

    4.2. After adding, remember to refresh in "WeChat Development Tools->Details->Domain Name Information".

    4.3. The https certificate is verified by default in the mini program. If an error is reported when using the http path, you can check "Do not verify legal domain names" in "WeChat Development Tools->Details->Project Settings".

    4.4. Public parameter information can be configured in app.js. Such as configuring path prefix and other information. Configuration value information can be obtained through app.globalData.wallpaperBaseUrl.

    4.5. You can initiate a request through wx.request.

    4.6. The default content-type in the header is application/json. If it is a request submitted by a post form, it should be changed to application/x-www-form-urlencoded.

Related tutorials: WeChat Mini Program Video Tutorial

The above is the detailed content of Entry-level development process of WeChat mini program. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:博客园. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.