[think\exception\ErrorException]
Uncaught think\exception\ErrorException: Constant AAA already defined in /home/wwwroot/hc.ieniu.net/app/event/InitConfig.php:68
Stack trace:
#0 [internal function]: think\initializer\Error->appError(8, 'Constant _AAA...', '/home/wwwroot/h...', 68, Array)
#1:api投递消息,监听器不工作 /home/wwwroot/hc.ieniu.net/app/event/InitConfig.php(68): define('AAA', '/public')
#2:这个是什么问题呀?只是在事件上定义了一个常量 __ROOT__ 报错 /home/wwwroot/hc.ieniu.net/app/event/InitConfig.php(27): app\event\InitConfig->initConst()
#3:AAA 常量也是一样 这个是什么问题呀? [internal function]: app\event\InitConfig->handle()
#4:api投递消息这块的原理不是很明白,文档能不能说明详细点。 /home/wwwroot/hc.ieniu.net/vendor/topthink/framework/src/think/Container.php(328): ReflectionMethod->invokeArgs(Object(app\event\InitConfig), Array)
#5:用swoole_table支持同一个用户多端在线,不知道有没有什么好的思路? /home/wwwroot/hc.ieniu.net/vendor/topthink/framework/src/think/Container.php(361): think\Container->invokeMethod('handle', Array, false)
#6 /home/wwwroot/hc.ieniu.net/vendor/topthink/framework/src/think/Event.php(260): think\Container->invoke(Array, Array)
#7 /home/wwwroot/hc.ieniu.net/vendor/topthink/framework/src/think/Event.php(221): think\Event->dispatch('app\eve
登录 后才可以发表评论