|
@@ -36,6 +36,8 @@ export class NewsController extends BaseController {
|
|
|
@ApiResponse({ type: FVO_news })
|
|
|
async fetch(@Param('id') id: string) {
|
|
|
const data = await this.service.fetch(id);
|
|
|
+ // 加浏览量
|
|
|
+ await this.service.fetchBrowse(data);
|
|
|
const result = new FVO_news(data);
|
|
|
return result;
|
|
|
}
|