浏览代码

修复更新后基类未引入Hook和Config类的BUG

Karson 7 年之前
父节点
当前提交
e8f85f531a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      application/common/controller/Api.php

+ 2 - 0
application/common/controller/Api.php

@@ -3,8 +3,10 @@
 namespace app\common\controller;
 namespace app\common\controller;
 
 
 use app\common\library\Auth;
 use app\common\library\Auth;
+use think\Config;
 use think\exception\HttpResponseException;
 use think\exception\HttpResponseException;
 use think\exception\ValidateException;
 use think\exception\ValidateException;
+use think\Hook;
 use think\Lang;
 use think\Lang;
 use think\Loader;
 use think\Loader;
 use think\Request;
 use think\Request;