feat(core): harden sessions settlement and credit activity
Some checks failed
lotterLaravel CI / test (push) Has been cancelled
lotterLaravel E2E / e2e-api (push) Has been cancelled

This commit is contained in:
wchino
2026-07-22 20:53:43 +08:00
parent 35f6e46958
commit 15bd997c4e
48 changed files with 1920 additions and 93 deletions

View File

@@ -127,6 +127,9 @@ enum ErrorCode: int
/** 原生登录:验证码错误或过期 */
case PlayerCaptchaInvalid = 8009;
/** 原生登录:当前会话已被同账号的较新登录替换 */
case PlayerSessionReplaced = 8010;
/* ========== 81008199 管理端 API ========== */
/** 未登录或 Token 无效 */
@@ -144,6 +147,9 @@ enum ErrorCode: int
/** 已登录但无 RBAC 权限 */
case AdminForbidden = 8114;
/** 当前管理端会话已被同账号的较新登录替换 */
case AdminSessionReplaced = 8115;
/* ========== 90009999 系统 / 框架 ========== */
/** 表单或 Query 校验失败ValidationException → 422 */