Replies: 1 comment
-
问题应该出在你的配置文件中,你检查下你的配置文件中有没有“secret”,我也遇到了跟你一样的问题,我之前的配置文件中使用了 app_secret,改成 secret 之后就好了。 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
开发环境:
Swoole信息:
Laravel 11 + octane
安装了
overtrue/laravel-wechat^7.2
按照
config/easywechat.php
中的配置信息,在.env
中配置了以下参数:参考文档:https://easywechat.com/6.x/client.html


调用接口的代码:
获取到的结果数据是:
{"errcode":41004,"errmsg":"appsecret missing, rid: 6628ebc7-37464461-4ef6b33d"}
之后在调用时做了这样的设置,才可以正常获取到数据
请问,是漏了哪里的文档,还是easywechat 6.0之后的版本,就是需要按照微信的接口问题,自己来写appid和appsecret?
或者是,因为Swoole或octane的问题造成?
Beta Was this translation helpful? Give feedback.
All reactions