Wechat js has already filled in the JS interface security domain name, why still report invalid url domain this error?

JS interface security domain name as long as enter abc.com and then on the http://abc.com/index.php?a=index&c=index page is OK? Why did I report the mistake of invalid url domain?

official explanation
The domain name of the current page of invalid url domain is not bound to the appid used. Please make sure that the bound domain name is entered correctly. If the port number is used, the configured bound domain name should also be added with the port number (one appid can bind three valid domain names, see directory 1.1.1).


http:// cannot be added. On my day, Wechat backstage hints that you will die. I have never seen a team as bad as Wechat. I really


.

1. Check whether the backend is set: official account name-feature settings-JS API security domain name in the upper right corner

2. Check whether the appid in the code is consistent with the id in the official account background

3. If you can't, report back to the official email:
Email address: weixin-open@qq.com
Email subject: [Wechat JS-SDK feedback]
Message description:
Describe the problem in concise language and explain clearly the scenarios in which you encounter the problem. You can attach a screenshot and the Wechat team will deal with your feedback as soon as possible.


1. Check whether the backend is set: official account name-feature settings-JS API security domain name in the upper right corner
2. Check whether the appid in the code is consistent with the id in the official account backend
3, first-level domain name, non-80 port needs to take port number, just stepped on the pit!


remove the backslash, such as www.abc.com


I also encountered this problem, but it is because I use the second-level domain name, using the first-level domain name is ok.


add that if the domain name calling js is a secondary domain name, and the secondary domain name is not configured in the JS API security domain name , it can be directly configured as the primary domain name. For example, if the secondary domain name is abc.baidu.com, then the JS interface security domain name can be configured as baidu.com.


I have the same problem. Just set the two pieces to the same
clipboard.png


Sorry. My fault, the appid I use is the service number, but I set the JS interface security domain name in Subscription account. Sorry, now I can use the js interface of Wechat normally. Keep this question. Everyone's answer is very good. You can make a model of misarrangement for later people.


1. Client and server should use the same secure domain name of app id;
2.js to fill in a first-level domain name without protocol, such as abc.com.


how many js interface security domain names can be entered in the test official account


http://blog.csdn.net/u0124169... check this out It may be the nginx reverse proxy


https://blog.csdn.net/qq_3204...
may be this

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e7474a-4da.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e7474a-4da.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?