Multiple systems developed need to call the same WeChat official account, but when uploading pictures,s:110:"{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest hint: [J3U7wA0390vr31!]"}";
error, have you encountered it? Is there any good solution?
The multiple systems developed need to call the same WeChat official account, but when uploading pictures,s:110:"{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest hint: [J3U7wA0390vr31!]"}";
, have you encountered the error? Is there any good solution?
Want to know where theaccess_token
of each system is stored? It stands to reason that this situation can be avoided by ensuring that each system reads the cache in one place!
Our general approach is to store it in redis. The premise is that the redis data read by your three systems is consistent!
Save to redis and call together.
The above is a WeChat public account shared by multiple systems. When uploading pictures, the access_token expired will be returned. How to solve it? For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!