feat(诸子列传): 查询其他好友数据

This commit is contained in:
luying
2023-07-12 20:25:45 +08:00
parent 1eb6f76cce
commit b6cd9e6784
5 changed files with 17 additions and 20 deletions

View File

@@ -216,6 +216,7 @@ export class HeroDetailParam {
scroll: number;
teraph: number;
}
authorBooks: { bookId: number, progress: number }[] = [];
constructor(hero: HeroType) {
this.roleId = hero.roleId;
@@ -263,4 +264,8 @@ export class HeroDetailParam {
setArtifact(artifact: ArtifactModelType) {
this.artifacts.push({ artifactId: artifact.artifactId, lv: artifact.lv });
}
setAuthorBook(authorBooks: { bookId: number, progress: number }[]) {
this.authorBooks = authorBooks;
}
}