You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong_qianduan/api/article/index.js

18 lines
325 B

11 months ago
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 })
}