feat: admin login

This commit is contained in:
2024-10-27 00:34:45 +08:00
parent 3a39ff3790
commit d76e37a81d
18 changed files with 698 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Constants\Admin;
use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;
#[Constants]
class UserCode extends AbstractConstants
{
/**
* 禁用
* @Message("该用户已被禁用")
*/
const DISABLE = 2;
/**
* 启用
*/
const ENABLE = 1;
}