Replies: 1 comment
-
我找到了6.X里的方法, https://easywechat.com/6.x/client.html#%E8%87%AA%E5%AE%9A%E4%B9%89-access-token |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
文档里是这样设置的,$app['access_token']->setToken($newAccessToken, $expires);
但这种在5.X中可以,在6.X中就报错Cannot use object of type EasyWeChat\OfficialAccount\Application as array
6.X中应该使用什么方式呢
Beta Was this translation helpful? Give feedback.
All reactions