java - 微信JSSDK,config:invalid url domain问题求解
PHP中文网
PHP中文网 2017-04-18 10:27:58
0
2
759


安全域名的配置

组成签名的URL


所有都配好了,但还是报invalid url domain,是我配置的安全域问题还是?求解啊,查了一天资料都没有找到问题,发邮件去微信问也没有答复.求各位大神指导一下!万分感谢~!

PHP中文网
PHP中文网

认证0级讲师

reply all(2)
Ty80

You can fill in the domain name directly without filling in the folder path
And now you still need to verify a file

Also check the appid

黄舟

First of all, this problem is due to the configuration of the secure domain name. When the path is written in the form of the path in my question, invalid url domain will be reported. Put the verification file in the root directory and write it directly as test.hfmoney.com. It is successful. . Is this a problem with WeChat, or is it a problem with my understanding?
The official description is as follows:
If you fill in the path, place the file in the path directory, such as wx.qq.com/mp/xxxxxxxxxxxxxxxxxxxxxx.txt

Anyway, you won’t go wrong by filling in the domain name.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!