search

Home  >  Q&A  >  body text

javascript - When using jssdk to share on WeChat, why does the signature error always appear?

The signature in the WeChat JS interface signature verification tool is consistent with the signature given to me in the background, but when I open the page, it always displays a signature error. Why?

高洛峰高洛峰2779 days ago822

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-06-14 10:55:15

    The reason is that the url is not complete

    reply
    0
  • 学习ing

    学习ing2017-06-14 10:55:15

    There are many reasons.

    1. There is a problem with the token expiration mechanism in your backend

    2. Your domain name is different from the domain name or address set in WeChat

    3. The WeChat version is too low.

    4. Wait~.

    reply
    0
  • Cancelreply