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! ! !
ringa_lee2017-09-23 19:21:09
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