皮肤:排行榜等增加返回

This commit is contained in:
luying
2021-10-19 15:56:05 +08:00
parent 864f856c1c
commit 86b71f21bf
3 changed files with 9 additions and 6 deletions

View File

@@ -19,9 +19,9 @@ export enum ROLE_SELECT {
export enum HERO_SELECT {
ENTRY = '-attr',
HERO_DETAIL = 'roleId roleName hid hName ce isReducedCe lv star colorStar quality job skins attr ePlace',
HERO_DETAIL = 'roleId roleName hid hName ce isReducedCe lv star colorStar quality job skins attr ePlace skinId',
// 排行榜中lineup字段
RANK_LINEUP = 'seqId roleId hid star colorStar lv quality job ce isReducedCe updatedAt'
RANK_LINEUP = 'seqId roleId hid star colorStar lv quality job ce isReducedCe updatedAt skinId'
}
export enum EQUIP_SELECT {

View File

@@ -104,6 +104,9 @@ export class LineupParam {
@prop({ required: true })
hid: number;
@prop({ required: true })
skinId: number;
@prop({ required: true })
star: number;
@@ -121,6 +124,7 @@ export class LineupParam {
constructor(hero: HeroType) {
this.hid = hero.hid;
this.skinId = hero.skinId;
this.star = hero.star;
this.colorStar = hero.colorStar;
this.lv = hero.lv;