set domain name
Log in to the WeChat applet background,
- Settings → Development Settings → Server Settings
The domain name must be set so that the WeChat applet can carry out network communication, otherwise an error will be reported
If no legal domain name is set, it is not necessary to set a legal domain name in the development stage
Details - Project Settings
ok, perfect solution