diff --git a/app/BaseController.php b/app/BaseController.php index 61fda03..2258d45 100755 --- a/app/BaseController.php +++ b/app/BaseController.php @@ -3,8 +3,8 @@ declare (strict_types = 1); namespace app; -use think\exception\ValidateException; -use think\Validate; +use taoser\exception\ValidateException; +use taoser\Validate; /** * 控制器基础类 diff --git a/app/admin/controller/LoginController.php b/app/admin/controller/LoginController.php index ae669c3..01b37fd 100755 --- a/app/admin/controller/LoginController.php +++ b/app/admin/controller/LoginController.php @@ -33,7 +33,7 @@ class LoginController extends BaseAdminController * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 令狐冲 + * @author 乔峰 */ public function account() { @@ -46,7 +46,7 @@ class LoginController extends BaseAdminController * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 令狐冲 + * @author 乔峰 * @date 2021/7/8 00:36 */ public function logout() diff --git a/app/admin/lists/auth/AdminLists.php b/app/admin/lists/auth/AdminLists.php index d661db1..6d6fb9b 100755 --- a/app/admin/lists/auth/AdminLists.php +++ b/app/admin/lists/auth/AdminLists.php @@ -189,7 +189,7 @@ class AdminLists extends BaseAdminDataLists implements ListsExtendInterface, Lis /** * @notes 获取数量 * @return int - * @author 令狐冲 + * @author 乔峰 * @date 2021/7/13 00:52 */ public function count(): int diff --git a/app/admin/logic/LoginLogic.php b/app/admin/logic/LoginLogic.php index 1321de8..d14b8ca 100755 --- a/app/admin/logic/LoginLogic.php +++ b/app/admin/logic/LoginLogic.php @@ -34,7 +34,7 @@ class LoginLogic extends BaseLogic * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 令狐冲 + * @author 乔峰 * @date 2021/6/30 17:00 */ public function login($params) @@ -69,7 +69,7 @@ class LoginLogic extends BaseLogic * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 令狐冲 + * @author 乔峰 * @date 2021/7/5 14:34 */ public function logout($adminInfo) diff --git a/app/admin/service/AdminTokenService.php b/app/admin/service/AdminTokenService.php index bae9c1d..a522056 100644 --- a/app/admin/service/AdminTokenService.php +++ b/app/admin/service/AdminTokenService.php @@ -19,7 +19,7 @@ class AdminTokenService * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 令狐冲 + * @author 乔峰 * @date 2021/7/2 20:25 */ public static function setToken($adminId, $terminal, $multipointLogin = 1) @@ -64,7 +64,7 @@ class AdminTokenService * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 令狐冲 + * @author 乔峰 * @date 2021/7/5 14:25 */ public static function overtimeToken($token) @@ -88,7 +88,7 @@ class AdminTokenService * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 令狐冲 + * @author 乔峰 * @date 2021/7/5 14:31 */ public static function expireToken($token) diff --git a/app/admin/validate/LoginValidate.php b/app/admin/validate/LoginValidate.php index e92548f..5ba4cfe 100644 --- a/app/admin/validate/LoginValidate.php +++ b/app/admin/validate/LoginValidate.php @@ -33,7 +33,7 @@ class LoginValidate extends BaseValidate * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 令狐冲 + * @author 乔峰 * @date 2021/7/2 14:00 */ public function password($password, $other, $data)