|
@@ -36,8 +36,6 @@ export class AchievementController implements BaseController {
|
|
|
async fetch(@Param('id') id: number) {
|
|
|
const data = await this.service.fetch({ id });
|
|
|
const result = new FVO_achievement(data);
|
|
|
- // 加浏览量
|
|
|
- await this.service.fetchBrowse(data);
|
|
|
return result;
|
|
|
}
|
|
|
|
|
@@ -88,6 +86,8 @@ export class AchievementController implements BaseController {
|
|
|
let data = await this.service.fetch({ id });
|
|
|
data = await this.serviceUtil.fillOnwer(data);
|
|
|
data = await this.serviceUtil.fillCollection(data, 'achievement');
|
|
|
+ // 加浏览量
|
|
|
+ await this.service.fetchBrowse(data);
|
|
|
return data;
|
|
|
}
|
|
|
}
|