// [ 应用入口文件 ]
namespace think;
// 定义应用目录
define('APP_PATH', __DIR__ . '/application/');
// 加载基础文件
require __DIR__ . '/thinkphp/ba
// 执行应用并响应(绑定当前访问到的模块)
Container::get('app', [APP_PATH])->bind('push/Worker')->run()->send();
在cmd命令行运行php server.php之后报错如下:
[ReflectionException]
Method app\home\controller\Index::index() does not exist
最佳答案
