皮肤:排行榜等增加返回
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user