Home  >  Q&A  >  body text

java - 微信JSSDK,config:invalid url domain问题求解


安全域名的配置

组成签名的URL


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

PHP中文网PHP中文网2763 days ago762

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 10:29:58

    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

    reply
    0
  • 黄舟

    黄舟2017-04-18 10:29:58

    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.

    reply
    0
  • Cancelreply