军团:建筑物表
This commit is contained in:
@@ -6,8 +6,8 @@ export interface DicGuildAuth {
|
||||
|
||||
// id
|
||||
readonly id: number;
|
||||
// 权限 TODO 策划字段未定
|
||||
readonly auths: number[];
|
||||
// 权限
|
||||
readonly authority: number[];
|
||||
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ let arr = JSON.parse(str);
|
||||
export const dicGuildAuth = new Map<number, number[]>();
|
||||
|
||||
arr.forEach(o => {
|
||||
let auths = parseNumberList(o.auths)
|
||||
dicGuildAuth.set(o.id, auths);
|
||||
let authority = parseNumberList(o.authority)
|
||||
dicGuildAuth.set(o.id, authority);
|
||||
});
|
||||
arr = undefined;
|
||||
Reference in New Issue
Block a user