Просмотр исходного кода

【程序目录】修复DbException引用。

leekay0218 3 лет назад
Родитель
Сommit
deee8a6dc1

+ 1 - 0
crmeb/app/adminapi/AdminApiExceptionHandle.php

@@ -15,6 +15,7 @@ namespace app\adminapi;
 use crmeb\exceptions\AdminException;
 use crmeb\exceptions\ApiException;
 use crmeb\exceptions\AuthException;
+use think\db\exception\DbException;
 use think\exception\Handle;
 use think\exception\ValidateException;
 use think\facade\Env;

+ 1 - 0
crmeb/app/api/ApiExceptionHandle.php

@@ -15,6 +15,7 @@ namespace app\api;
 use crmeb\exceptions\AdminException;
 use crmeb\exceptions\ApiException;
 use crmeb\exceptions\AuthException;
+use think\db\exception\DbException;
 use think\exception\Handle;
 use think\facade\Env;
 use think\facade\Log;

+ 1 - 0
crmeb/app/kefuapi/KefuApiExceptionHandle.php

@@ -15,6 +15,7 @@ namespace app\kefuapi;
 use crmeb\exceptions\AdminException;
 use crmeb\exceptions\ApiException;
 use crmeb\exceptions\AuthException;
+use think\db\exception\DbException;
 use think\exception\Handle;
 use think\exception\ValidateException;
 use think\facade\Config;