feat: 新增首页最新新闻列表组件

This commit is contained in:
xiongxiaoyang
2022-05-14 14:39:01 +08:00
parent 3f079db001
commit 47356f4f8f
4 changed files with 78 additions and 38 deletions

5
src/api/news.js Normal file
View File

@@ -0,0 +1,5 @@
import request from '../utils/request'
export function listLatestNews() {
return request.get('/news/latestList');
}