feat(停用): V155 给 users 加 disabled_at——停用第一次有账号级载体
生产 users 只有 11 列、无任何状态列,expires_at 140 行全 NULL,所以停用既无字段可落、 也不能借 machine(那是测试号签名 + 互踢判定在用)。不复用 expires_at 塞哨兵:取消停用 会把收费到期日一起抹掉。两张 users 实体同批改,少一张就有一条鉴权路径读不到。 台账同步:文件数 153、范围 V1..V155、取号起点推到 V156
This commit is contained in:
+6
@@ -37,4 +37,10 @@ public class LoginUserEntity {
|
||||
*/
|
||||
@TableField("expires_at")
|
||||
private LocalDateTime expiresAt;
|
||||
/**
|
||||
* 管理员停用时刻;非 NULL 即停用——同时挡重新登录与已发令牌。
|
||||
* 与 expires_at(V146 收费到期)分列:复用后者会在取消停用时抹掉原到期日。
|
||||
*/
|
||||
@TableField("disabled_at")
|
||||
private LocalDateTime disabledAt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user