登录:将写死的数写进const

This commit is contained in:
luying
2021-03-05 19:08:11 +08:00
parent 1479c66f14
commit 0e292b8bda
2 changed files with 13 additions and 4 deletions

View File

@@ -399,4 +399,13 @@ export enum BLOCK_OPEATE {
export enum TIME_FORMAT {
TYPE_SLASH = 1
}
export enum ADDICTION_PREVENTION_CODE {
FAIL = -1,
SUCCESS = 1, // 接口的返回
GUEST = 1, // 返回给客户端时,游客时间超时
CURFEW = 2, // 每日22时至次日8时,未成年禁止游戏
HOLIDAY = 3, // 法定节假日每日累计不得超过3小时
WORKDAY = 4, // 非法定节假日每日累计不得超过1.5小时
}