形象:头像相框形象字段
This commit is contained in:
@@ -79,8 +79,8 @@ export default class UserGuildApply extends BaseModel {
|
||||
const list: UserGuildApplyType[] = await UserGuildApplyModel.find(condition)
|
||||
.sort({ createdAt: -1 })
|
||||
.select('applyCode role')
|
||||
.populate('role', 'roleId roleName ce headHid sHid lv title job quitTime', 'Role')
|
||||
.limit(GUILD_PER_PAGE).lean({ getters: true });
|
||||
.populate('role', 'roleId roleName ce head frame spine lv title job quitTime', 'Role')
|
||||
.limit(GUILD_PER_PAGE).lean({ getters: true, virtuals: true });
|
||||
return list
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user