修改了常量的长度
This commit is contained in:
parent
80ab6ddfcf
commit
6907d88d1d
|
|
@ -14,7 +14,10 @@ exports.desc = {
|
|||
type: "text"
|
||||
},
|
||||
type: {
|
||||
type: "object"
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
systemId: {
|
||||
type: "ref",
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ exports.desc = {
|
|||
level: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
depth: {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ exports.desc = {
|
|||
iState: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ exports.desc = {
|
|||
iState: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ exports.desc = {
|
|||
protocol: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
port: {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ exports.desc = {
|
|||
ableState: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@ exports.desc = {
|
|||
origin: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
type: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
bucket: {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ exports.desc = {
|
|||
liveonly: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
hub: {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ exports.desc = {
|
|||
ableState: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ exports.desc = {
|
|||
iState: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ exports.desc = {
|
|||
ableState: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ exports.desc = {
|
|||
gender: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
avatar: {
|
||||
|
|
@ -38,7 +38,7 @@ exports.desc = {
|
|||
idCardType: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
idNumber: {
|
||||
|
|
@ -58,13 +58,13 @@ exports.desc = {
|
|||
idState: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
userState: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ exports.desc = {
|
|||
type: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
number: {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ exports.desc = {
|
|||
relation: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ exports.desc = {
|
|||
relation: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ exports.desc = {
|
|||
type: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
allowShare: {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ exports.desc = {
|
|||
origin: {
|
||||
type: "varchar",
|
||||
params: {
|
||||
length: 16
|
||||
length: 24
|
||||
}
|
||||
},
|
||||
openId: {
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ export class BackendRuntimeContext<ED extends EntityDict> extends UniversalConte
|
|||
id: tokenValue,
|
||||
},
|
||||
}, this, {});
|
||||
assert(result.length > 0, `构建BackendRuntimeContext对应tokenValue「${tokenValue}user`);
|
||||
assert(result.length > 0, `构建BackendRuntimeContext对应tokenValue「${tokenValue}找不到相关的user`);
|
||||
const token = result[0] as SelectRowShape<ED['token']['Schema'], GetTokeShape2>;
|
||||
if (token.ableState === 'disabled') {
|
||||
throw new OakTokenExpiredException();
|
||||
|
|
|
|||
Loading…
Reference in New Issue