协程版仓库后端项目
Some checks failed
Build Docker / build (push) Has been cancelled

This commit is contained in:
2025-07-08 14:59:47 +08:00
commit 0b2299c427
134 changed files with 19277 additions and 0 deletions

View File

@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace App\Constants;
use Hyperf\Constants\Annotation\Constants;
#[Constants]
class RoleTypeConst extends AbsConst
{
/**
* @Message("普通用户")
*/
const int NORMAL_USER = 0;
/**
* @Message("管理员")
*/
const int ADMIN = 1;
/**
* @Message("超级管理员")
*/
const int SUPER_ADMIN = 2;
}