军团相关战力使用get方法

This commit is contained in:
luying
2021-02-02 12:36:55 +08:00
parent 830836b809
commit a9e2b79c79
7 changed files with 53 additions and 39 deletions

View File

@@ -80,7 +80,7 @@ export default class UserGuildApply extends BaseModel {
.sort({ createdAt: -1 })
.select('applyCode role')
.populate('role', 'roleId roleName ce headHid sHid lv title job quitTime', 'Role')
.limit(GUILD_PER_PAGE).lean();
.limit(GUILD_PER_PAGE).lean({ getters: true });
return list
}