Skip to content

Commit b3642ed

Browse files
author
钟辉
committed
feat: 新增统计最新文章接口和统计用户访问量接口
1 parent 5695e51 commit b3642ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service/app/router/blog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ module.exports = (app) => {
3737
controller.blog.index.getArticleList
3838
);
3939
router.get(
40-
"/api/blog/index/getLatestArticle/:limit",
41-
controller.blog.index.getLatestArticle
40+
"/api/blog/articlelist/getLatestArticle/:limit",
41+
controller.blog.articlelist.getLatestArticle
4242
);
4343
router.get(
4444
"/api/blog/index/getAdverList",

0 commit comments

Comments
 (0)