【WeChat applet】Configure domain name error

Error: {errMsg: "APP Referer verification failed", statusCode: 220}

When the WeChat applet is developed to obtain the address, ak needs to be filled in, and ak needs to be obtained through the appid of the applet.

In Baidu Maps Open Platform:

If you need to apply for a new ak, you need to create an application first, fill in the application name, select the application type, and fill in the ip whitelist, where the ip is the ip corresponding to the legal domain name added in the WeChat applet development settings. At this point, you can apply for a new ak.

In the WeChat applet, just fill in ak.

 

Guess you like

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