登录:防旧包登录
This commit is contained in:
@@ -17,8 +17,10 @@ export const STATUS = {
|
||||
FUNCTION_CLOSE: { code: 14, simStr: '抱歉,该功能暂时关闭' },
|
||||
TIMESTAMP_ERR: { code: 15, simStr: '请求时间参数错误' },
|
||||
DUPLICATE_ACCESS: { code: 16, simStr: '随机请求参数重复' },
|
||||
ADDRESS_ERR: { code: 17, simStr: '您的版本已停止支持,请前往应用商店下载最新安装包' },
|
||||
GLOBAL_ERR: { code: 1003, simStr: '服务器内部错误' },
|
||||
UPDATE_INFO_ERR: {code: 1004, simStr: '热更新配置错误'},
|
||||
|
||||
// http请求
|
||||
REQUEST_TIME_OUT: { code: 2000, simStr: '请求超时' },
|
||||
REQUEST_FAIL: { code: 2001, simStr: '请求错误' },
|
||||
|
||||
@@ -24,9 +24,6 @@ export default class Region extends BaseModel {
|
||||
@prop({ required: true })
|
||||
env: string; // 环境变量
|
||||
|
||||
@prop({ required: true })
|
||||
addressType: number; // 环境变量
|
||||
|
||||
@prop({ required: true })
|
||||
gmLink: string; // 短链接地址
|
||||
|
||||
@@ -54,6 +51,9 @@ export default class Region extends BaseModel {
|
||||
@prop({ required: true })
|
||||
latestServerUniqId: number; // 最新服唯一id
|
||||
|
||||
@prop({ required: true })
|
||||
addressType: number; // 参数表的那个addressType
|
||||
|
||||
@prop({ required: true })
|
||||
serverCount: number; // 总数
|
||||
|
||||
|
||||
Reference in New Issue
Block a user