jsapi_ticket is not obtained when the WeChat interface is called
吴小骏
吴小骏 2017-09-23 18:55:41
0
2
1207

Direct use of the official demo always prompts invalid signature, and then I find that jsapi_ticket is not obtained and is empty. I am not only a php novice but also a WeChat development novice. Please help! ! !

吴小骏
吴小骏

reply all(2)
LRTRL

Please post the code and have a look

ringa_lee

You first go to the WeChat test address to simulate the test: https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=jsapisign

Fill in all your parameters

expire_seconds, action_name , action_info, scene

See if these parameters are there, and if the token has expired! If you follow what I said and these are correct, there should be no problem

  • reply During the simulation test, one of the parameters to be filled in is jsapi_ticket, but I found that it was not obtained here... This is the reason! Basically, I haven’t changed anything in the official demo, which means I don’t know where the problem lies.
    吴小骏 author 2017-09-23 19:26:16
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template