47 lines
1.1 KiB
TypeScript
47 lines
1.1 KiB
TypeScript
import request from '@/utils/http'
|
|
|
|
export class logService {
|
|
// 更新日志-列表
|
|
static getChangelogList(params:any) {
|
|
return request.get<Api.Common.CommonListData>({
|
|
url: '/admin/update/log/list',
|
|
params
|
|
})
|
|
}
|
|
// 更新日志-添加
|
|
static addChangelog(params: any) {
|
|
return request.post<Api.Common.AddResponse>({
|
|
url: '/admin/update/log/store',
|
|
params
|
|
})
|
|
}
|
|
// 更新日志-删除
|
|
static deleteChangelog(params: any) {
|
|
return request.post<Api.Common.AddResponse>({
|
|
url: '/admin/update/log/destroy',
|
|
params
|
|
})
|
|
}
|
|
// 更新日志-详情
|
|
static detailChangelog(params: any) {
|
|
return request.get<any>({
|
|
url: '/admin/update/log/show',
|
|
params
|
|
})
|
|
}
|
|
// 更新日志-修改
|
|
static updateChangelog(params: any) {
|
|
return request.post<Api.Common.AddResponse>({
|
|
url: '/admin/update/log/update',
|
|
params
|
|
})
|
|
}
|
|
//操作日志-列表
|
|
static getOperationLogList(params: any) {
|
|
return request.get<Api.Common.CommonListData>({
|
|
url: '/admin/op/log/list',
|
|
params
|
|
})
|
|
}
|
|
}
|