Files
hyperf_service/app/Constants/AdminCode.php
2024-10-27 19:34:20 +08:00

19 lines
323 B
PHP

<?php
namespace App\Constants;
use Hyperf\Constants\Annotation\Constants;
#[Constants]
class AdminCode extends ReturnCode
{
/**
* @Message("登录失败")
*/
public const int LOGIN_ERROR = 10001;
/**
* @Message("登录token已失效")
*/
public const int LOGIN_TOKEN_ERROR = 10002;
}