You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
936 B
JavaScript

3 years ago
import request from '@/utils/request'
// 查询文章管理列表
export function listDocInfo(query) {
return request({
url: '/makesoft/docInfo/list',
method: 'get',
params: query
})
}
// 查询文章管理详细
export function getDocInfo(id) {
return request({
url: '/makesoft/docInfo/' + id,
method: 'get'
})
}
// 新增文章管理
export function addDocInfo(data) {
return request({
url: '/makesoft/docInfo',
method: 'post',
data: data
})
}
// 修改文章管理
export function updateDocInfo(data) {
return request({
url: '/makesoft/docInfo',
method: 'put',
data: data
})
}
// 删除文章管理
export function delDocInfo(id) {
return request({
url: '/makesoft/docInfo/' + id,
method: 'delete'
})
}
3 years ago
// 获取分析结果
export function getDocInfoAnalysis(id) {
return request({
url: '/makesoft/docInfo/analysis/' + id,
method: 'get'
})
}