第一次提交

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

11
api/article/category.js Executable file
View File

@@ -0,0 +1,11 @@
import request from '@/utils/request'
// api地址
const api = {
list: 'article.category/list'
}
// 页面数据
export function list() {
return request.get(api.list)
}

17
api/article/index.js Executable file
View File

@@ -0,0 +1,17 @@
import request from '@/utils/request'
// api地址
const api = {
list: 'article/list',
detail: 'article/detail'
}
// 文章列表
export function list(param, option) {
return request.get(api.list, param, option)
}
// 文章详情
export function detail(articleId) {
return request.get(api.detail, { articleId })
}