[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 /home/wwwroot/hc.ieniu.net/vendor/topthink/framework/src/think/Container.php(328): ReflectionMethod->invokeArgs(Object(app\event\InitConfig), Array)
#5 /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