第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:04:21 +08:00
commit 7a73b38bd5
764 changed files with 166417 additions and 0 deletions

17
websoft/api/article.js Normal file
View File

@@ -0,0 +1,17 @@
import http from './index.js';
// 分页查询文章
export const pageArticle = (params) => http.get('/cms/article/page', {params})
// 查询文章
export const getArticle = (articleId) => http.get('/cms/article/' + articleId)
// 添加文章
export const addArticle = (data) => http.post('/cms/article', data)
export default {
pageArticle,
getArticle,
addArticle
}