feat : basic

This commit is contained in:
2024-11-12 11:02:38 +08:00
parent 235acbea9c
commit a9f81888b7
26 changed files with 342 additions and 209 deletions

View File

@@ -2,7 +2,7 @@
namespace App\Aspect\Admin;
use App\Exception\AdminException;
use App\Exception\ErrException;
use App\Service\Admin\Login\LoginService;
use Hyperf\Di\Annotation\Aspect;
use Hyperf\Di\Aop\AbstractAspect;
@@ -43,9 +43,9 @@ class AdminLoginLogAspect extends AbstractAspect
//todo 登录日志是否需要
return $result;
} catch (AdminException $e) {
} catch (ErrException $e) {
// var_dump($e->getMessage());
throw new AdminException($e->getMessage());
throw new ErrException($e->getMessage());
}
}
}