fix:项目初始化
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-03-14 15:25:07
|
||||
* @LastEditTime: 2022-06-06 18:00:24
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /comics-admin/src/api/postManagement/newList.js
|
||||
*/
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 新增资讯
|
||||
export function infomationAdd (data) {
|
||||
return request({
|
||||
url: '/api/web/post/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除资讯
|
||||
export function infomationDel (data) {
|
||||
return request({
|
||||
url: '/api/web/post/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取资讯列表
|
||||
export function infomationSearch (data) {
|
||||
return request({
|
||||
url: '/api/web/post/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 编辑资讯
|
||||
export function infomationUpdate (data) {
|
||||
return request({
|
||||
url: '/api/web/post/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 审核资讯
|
||||
export function infomationAudit (data) {
|
||||
return request({
|
||||
url: '/api/web/post/verify',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 审核资讯
|
||||
export function postAdd2media (data) {
|
||||
return request({
|
||||
url: '/api/web/post/add2media',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 标签分类列表(带标签的)
|
||||
export function mediaAllList(data) {
|
||||
return request({
|
||||
url: '/api/web/mediatag/all',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user