tp5.0.15引入workerman出错

浏览:1442 发布日期:2018/03/01 分类:求助交流
错误信息 
[think\exception\ThrowableError]
  Fatal error: Class 'think\Container' not found



Exception trace:
 () at /www/wwwroot/testappapi.lodark.com/server.php:9
<?php
namespace think;

define('APP_PATH', __DIR__ . '/ApiMain/');

// 加载基础文件
require __DIR__ . '/ApiCore/base.php';
// 执行应用并响应
Container::get('app',[APP_PATH])->bind('push/Worker')->run()->send();
最佳答案
评论( 相关
后面还有条评论,点击查看>>