ソースを参照

修复更新后基类未引入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;
 
 use app\common\library\Auth;
+use think\Config;
 use think\exception\HttpResponseException;
 use think\exception\ValidateException;
+use think\Hook;
 use think\Lang;
 use think\Loader;
 use think\Request;