Pre Merge pull request !6 from puhui999/master

pull/6/MERGE
puhui999 2023-10-20 15:14:45 +00:00 committed by Gitee
commit c444f0aa92
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 9 additions and 0 deletions

View File

@ -29,3 +29,10 @@ export function getArticle(id) {
noAuth: true // TODO 芋艿:后续要做调整
});
}
// 增加文章浏览量
export function addArticleBrowseCount(id) {
return request.put("app-api/promotion/article/add-browse-count?id=" + id, {}, {
noAuth: true // TODO 芋艿:后续要做调整
});
}

View File

@ -114,6 +114,8 @@
}
// #endif
});
//
ArticleApi.addArticleBrowseCount(this.id)
},
goodInfo(id) {
ProductSpuApi.getSpuDetail(id).then(res=>{