-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在队列(think-queue)中调用出错 #10
Comments
"naixiaoxin/think-wechat": "^1.4", |
#9 一个问题 正在解决中 |
这是什么原因导致的呢?说出来,大家一起来想想办法来解决 |
目前来看是在命令行模式下 容器的关系绑定有些问题 怀疑是本身TP设计缺陷 正在尝试解决 |
hi 'app_init' => [
\Naixiaoxin\ThinkWechat\Behavior\AppInit::class
], |
错误还是依然存在 |
作者测试是可以的吗????? |
还以为和Swoole是一个问题~~ |
看来是无解了 肿么办呢 ..... |
已经给官方提交了issue |
在 Swoole 环境下也出现了如上问题,例如异步任务,目前的解决方案就是调用之前先进行: |
官方给的方案 其实是建议自己在Console文件里加钩子。。这样就改动了官方的源码了 |
今天遇到同样的问题 。。。 |
@qiqizjl |
@w263756314 你用的是三方开发平台? 三方开发平台需要先让微信回调ticket才可以 |
现在这个问题有办法解决吗? |
`namespace app\home\queue;
use think\queue\Job;
use Naixiaoxin\ThinkWechat\Facade;
use app\home\model\Wechat;
class ReleaseCode{
}
命令端运行报
[think\exception\ClassNotFoundException]class not exists: wechat.open_platform `
这个是怎么回事?
The text was updated successfully, but these errors were encountered: