分解装备 穿戴或卸载装备 装备打孔 宝石镶嵌 宝石合成 宝石卸下

This commit is contained in:
mamengke01
2020-12-17 21:44:11 +08:00
parent d2097a4264
commit 1005b14abc
11 changed files with 266 additions and 107 deletions
+4
View File
@@ -207,6 +207,10 @@ export default class Hero extends BaseModel {
return result;
}
public static async getHeroAndEquip(roleId: string, hid:number, lean = true) {
let result: HeroType = await HeroModel.findOne({roleId, hid}).select('ePlact').lean(lean);
return result;
}
}
export const HeroModel = getModelForClass(Hero);