init: 首次提交 web-hgc-admin 前端代码
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* @Author: 江涛
|
||||
* @Mail: jt213219216@gmail.com
|
||||
* @Date: 2021-02-22 10:36:38
|
||||
* @LastEditTime: 2021-03-15 11:11:22
|
||||
* @LastEditors: 江涛
|
||||
* @FilePath: /web-admin-MDDSP/src/api/account/accountList.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 帐号列表
|
||||
export function accList(params) {
|
||||
return request({
|
||||
url: '/api/web/acc/list',
|
||||
method: 'GET',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 账号删除
|
||||
export function accDel(data) {
|
||||
return request({
|
||||
url: '/api/web/acc/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 账号添加
|
||||
export function accAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/acc/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 更新账号
|
||||
export function accUp(data) {
|
||||
return request({
|
||||
url: '/api/web/acc/up',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取可用角色列表
|
||||
export function roleDrop(data) {
|
||||
return request({
|
||||
url: '/api/web/role/drop',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 更改账号状态
|
||||
export function accSavestatus(data) {
|
||||
return request({
|
||||
url: '/api/web/acc/savestatus',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* @Author: 江涛
|
||||
* @Mail: jt213219216@gmail.com
|
||||
* @Date: 2021-02-22 10:36:38
|
||||
* @LastEditTime: 2021-03-12 19:49:15
|
||||
* @LastEditors: 江涛
|
||||
* @FilePath: /web-admin-MDDSP/src/api/account/roleList.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 新增角色
|
||||
export function roleAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/role/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 角色删除
|
||||
export function roleDel(data) {
|
||||
return request({
|
||||
url: '/api/web/role/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取角色列表
|
||||
export function getRoleList(params) {
|
||||
return request({
|
||||
url: '/api/web/role/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 新增角色
|
||||
export function roleUp(data) {
|
||||
return request({
|
||||
url: '/api/web/role/up',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求角色权限
|
||||
export function getAuth(params) {
|
||||
return request({
|
||||
url: '/api/web/role/getauth',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 更新权限
|
||||
export function upAuth(data) {
|
||||
return request({
|
||||
url: '/api/web/role/upauth',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 角色使能
|
||||
export function roleEnable(data) {
|
||||
return request({
|
||||
url: '/api/web/role/enable',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取信息
|
||||
// export function roleGetinfo(data) {
|
||||
// return request({
|
||||
// url: '/web/role/getinfo',
|
||||
// method: 'post',
|
||||
// data
|
||||
// })
|
||||
// }
|
||||
@@ -0,0 +1,81 @@
|
||||
|
||||
/*
|
||||
* @Author: 江涛
|
||||
* @Mail: jt213219216@gmail.com
|
||||
* @Date: 2021-02-22 10:36:38
|
||||
* @LastEditTime: 2022-08-15 19:48:00
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /sq_web_admin/src/api/account/upList.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 新增角色
|
||||
export function upAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/upmaster/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 角色删除
|
||||
export function upDel(data) {
|
||||
return request({
|
||||
url: '/api/web/uploader/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取角色列表
|
||||
export function getUpList(data) {
|
||||
return request({
|
||||
url: '/api/web/uploader/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
// 更新权限
|
||||
export function upAuth(data) {
|
||||
return request({
|
||||
url: '/api/web/uploader/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 新增角色
|
||||
// export function roleUp(data) {
|
||||
// return request({
|
||||
// url: '/api/web/role/up',
|
||||
// method: 'post',
|
||||
// data
|
||||
// })
|
||||
// }
|
||||
|
||||
// 请求角色权限
|
||||
// export function getAuth(params) {
|
||||
// return request({
|
||||
// url: '/api/web/role/getauth',
|
||||
// method: 'get',
|
||||
// params
|
||||
// })
|
||||
// }
|
||||
|
||||
// 角色使能
|
||||
// export function roleEnable(data) {
|
||||
// return request({
|
||||
// url: '/api/web/role/enable',
|
||||
// method: 'post',
|
||||
// data
|
||||
// })
|
||||
// }
|
||||
|
||||
// 获取信息
|
||||
// export function roleGetinfo(data) {
|
||||
// return request({
|
||||
// url: '/web/role/getinfo',
|
||||
// method: 'post',
|
||||
// data
|
||||
// })
|
||||
// }
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 请求位置列表
|
||||
export function appInfoList(data) {
|
||||
return request({
|
||||
url: '/media/web/appinfo/info/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function dockingAppCategoryList(data) {
|
||||
return request({
|
||||
url: '/media/web/appcategory/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingAppCategoryAdd(data) {
|
||||
return request({
|
||||
url: '/media/web/appcategory/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingAppCategoryUpdate(data) {
|
||||
return request({
|
||||
url: '/media/web/appcategory/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingAppCategoryDel(data) {
|
||||
return request({
|
||||
url: '/media/web/appcategory/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function dockingAppList(data) {
|
||||
return request({
|
||||
url: '/media/web/appinfo/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingAppAdd(data) {
|
||||
return request({
|
||||
url: '/media/web/appinfo/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingAppUpdate(data) {
|
||||
return request({
|
||||
url: '/media/web/appinfo/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingAppDel(data) {
|
||||
return request({
|
||||
url: '/media/web/appinfo/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function upLoadFile(data, source) {
|
||||
return request({
|
||||
url: '/api/web/file/uploadImg',
|
||||
method: 'post',
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
data,
|
||||
timeout: 0,
|
||||
cancelToken: source.token
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* @Author: 王涛
|
||||
* @Mail: no
|
||||
* @Date: 2021-01-05 10:36:27
|
||||
* @LastEditors: 王涛
|
||||
* @LastEditTime: 2021-01-07 22:20:44
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
// 上传图片
|
||||
export function mediaUploadImg(data) {
|
||||
return request({
|
||||
url: '/api/web/file/uploadImg',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// // 请求首页今日数据
|
||||
export function getToday() {
|
||||
return request({ url: '/web/report/today', method: 'get' })
|
||||
}
|
||||
|
||||
// // 请求全部数据
|
||||
// export function getTotal() {
|
||||
// return request({
|
||||
// url: '/web/report/total',
|
||||
// method: 'get'
|
||||
// })
|
||||
// }
|
||||
// /**
|
||||
// *
|
||||
// * @param {*} params
|
||||
// */
|
||||
// export function getVisit(params) {
|
||||
// return request({
|
||||
// url: '/web/report/visit/list',
|
||||
// method: 'get',
|
||||
// params
|
||||
// })
|
||||
// }
|
||||
|
||||
// /**
|
||||
// * 水印列表导出
|
||||
// * @param {*} params
|
||||
// */
|
||||
Executable
+28
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* @Author: 王涛
|
||||
* @Mail: no
|
||||
* @Date: 2020-10-06 01:01:28
|
||||
* @LastEditors: 江涛
|
||||
* @LastEditTime: 2021-03-12 19:41:26
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function login(data) {
|
||||
return request({
|
||||
url: '/api/web/login/acc',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// /**
|
||||
// * 确认绑定二维码 code为333时 调用
|
||||
// * @param {*} data
|
||||
// */
|
||||
export function validateQR(data) {
|
||||
return request({
|
||||
url: '/api/web/login/bind',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取视频列表
|
||||
export function lsjVideoList(data) {
|
||||
return request({
|
||||
url: '/api/web/laosiji/movie/search',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取视频列表
|
||||
export function lsjVideoDel(data) {
|
||||
return request({
|
||||
url: '/api/web/laosiji/movie/search',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function lsjVideoDetail(data) {
|
||||
return request({
|
||||
url: '/api/web/laosiji/movie/detail',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function lsjVideoAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/laosiji/movie/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 影片列表
|
||||
export function mediaSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/mediafile/search',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频列表
|
||||
export function mediaSearchV1(data) {
|
||||
return request({
|
||||
url: '/media/web/mediafile/search',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频列表V2
|
||||
export function mediaSearchV2(data) {
|
||||
return request({
|
||||
url: '/media/web/mediafile/searchV2',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除影片
|
||||
export function mediaDel(data) {
|
||||
return request({
|
||||
url: '/api/web/mediafile/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 同步
|
||||
export function mediaUpdate(data) {
|
||||
return request({
|
||||
url: '/media/web/mediafile/sync',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 编辑影片
|
||||
export function mediaEdit(data) {
|
||||
return request({
|
||||
url: '/api/web/mediafile/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新预览时长
|
||||
export function updatePreTime(data) {
|
||||
return request({
|
||||
url: '/api/web/mediafile/update/prefile',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除视频
|
||||
export function sourceDel(data) {
|
||||
return request({
|
||||
url: '/media/web/source/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 资源列表
|
||||
export function sourceList(data) {
|
||||
return request({
|
||||
url: '/media/web/source/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频
|
||||
export function sourceUpdate(data) {
|
||||
return request({
|
||||
url: '/media/web/source/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 新增视频
|
||||
export function sourceAdd(data) {
|
||||
return request({
|
||||
url: '/media/web/source/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 视频上传
|
||||
export function videoBody(data) {
|
||||
return request({
|
||||
url: '/media/web/proxy/videoBody',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 视频上传成功
|
||||
export function videoOk(data) {
|
||||
return request({
|
||||
url: '/media/web/proxy/videoOk',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除视频
|
||||
export function taskDel(data) {
|
||||
return request({
|
||||
url: '/media/web/task/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 资源列表
|
||||
export function taskList(data) {
|
||||
return request({
|
||||
url: '/media/web/task/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 新增视频
|
||||
export function taskAdd(data) {
|
||||
return request({
|
||||
url: '/media/web/task/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 重新生成添加水印
|
||||
export function updateWaterMark(data) {
|
||||
return request({
|
||||
url: '/media/web/task/update/watermark',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function audioAdd(data) { // 音频新增
|
||||
return request({
|
||||
url: '/api/web/audio/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function audioDel(data) { // 音频新增
|
||||
return request({
|
||||
url: '/api/web/audio/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function audioList(data) { // 音频新增
|
||||
return request({
|
||||
url: '/api/web/audio/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function audioUpdate(data) { // 音频新增
|
||||
return request({
|
||||
url: '/api/web/audio/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-03-11 17:20:20
|
||||
* @LastEditTime: 2022-06-06 17:45:03
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /kkjm-web-admin/src/api/novels/novels.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function novelsUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsDel(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsList(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsAddTopics(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/addTopics',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsNewOne(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/newOne',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 添加评论
|
||||
export function novelsAddComment(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/addComment',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量添加标签
|
||||
export function novelsAddTags(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/addTags',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取最新章节和章节数不同的小说
|
||||
export function novelsGetNaN(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/getNaN',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新所有主题小说数量
|
||||
export function novelsUpCTC(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/upCTC',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新所有小说免费章节
|
||||
export function novelsUpNone(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/upNone',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新小说状态
|
||||
export function novelsUpdNovelStatus(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/updNovelStatus',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新小说状态
|
||||
export function novelsAddTxtNovel(data) {
|
||||
return request({
|
||||
url: '/api/web/novel/addTxtNovel',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function comicsCvUpdate(data) { // MDVlogCV更新
|
||||
return request({
|
||||
url: '/api/web/comicscv/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function comicsCvAdd(data) { // 画CV添加
|
||||
return request({
|
||||
url: '/api/web/comicscv/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function comicsCvDel(data) { // MDVlogCV删除
|
||||
return request({
|
||||
url: '/api/web/comicscv/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function comicsCvList(data) { // MDVlogCV列表
|
||||
return request({
|
||||
url: '/api/web/comicscv/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-03-12 13:55:34
|
||||
* @LastEditTime: 2022-06-06 17:44:56
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /kkjm-web-admin/src/api/novelsManagement/novelsChapter.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function novelsChapterUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/novelChapter/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function novelsChapterAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/novelChapter/add',
|
||||
method: 'post',
|
||||
data,
|
||||
timeout: 0
|
||||
})
|
||||
}
|
||||
export function novelsChapterDel(data) {
|
||||
return request({
|
||||
url: '/api/web/novelChapter/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function novelsChapterList(data) {
|
||||
return request({
|
||||
url: '/api/web/novelChapter/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新章节的小说id
|
||||
export function novelsChapterUpNovelId(data) {
|
||||
return request({
|
||||
url: '/api/web/novelChapter/upNovelId',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-03-12 14:41:19
|
||||
* @LastEditTime: 2022-06-06 17:45:21
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /novels-admin/src/api/novelsManagement/novelsTag.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function novelsTagUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/novelTag/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsTagAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/novelTag/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsTagDel(data) {
|
||||
return request({
|
||||
url: '/api/web/novelTag/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsTagList(data) {
|
||||
return request({
|
||||
url: '/api/web/novelTag/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsTagList100(data) {
|
||||
return request({
|
||||
url: '/api/web/novelTag/tag100list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-03-11 20:53:58
|
||||
* @LastEditTime: 2024-04-09 20:01:48
|
||||
* @LastEditors: Administrator admin@example.com
|
||||
* @FilePath: /txsm_webAdmin/src/api/novelsManagement/novelsTopic.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
export function novelsTopicList(data) {
|
||||
return request({
|
||||
url: '/api/web/novelTopic/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function novelsLabelsList(data) {
|
||||
return request({
|
||||
url: '/api/web/novelTag/tag100list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function comicsmediaUpdate(data) { // MDVlog视频更新
|
||||
return request({
|
||||
url: '/api/web/comicsmedia/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function comicsmediaAdd(data) { // MDVlog视频添加
|
||||
return request({
|
||||
url: '/api/web/comicsmedia/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function comicsmediaDel(data) { // MDVlog视频删除
|
||||
return request({
|
||||
url: '/api/web/comicsmedia/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function comicsmediaList(data) { // MDVlog视频列表
|
||||
return request({
|
||||
url: '/api/web/comicsmedia/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function playletJiahuaList(params) {
|
||||
return request({
|
||||
url: '/api/web/resource/jh/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function playletJiahuaChapters(params) {
|
||||
return request({
|
||||
url: '/api/web/resource/jh/chapters',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function playletJiahuaImport(data) {
|
||||
return request({
|
||||
url: '/api/web/resource/jh/import',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,169 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function playletList(params) {
|
||||
return request({
|
||||
url: '/api/web/playlet/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function playletAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletDel(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletStatusSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/status/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletRecommendSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/recommend/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletFeaturedSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/featured/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletOperateTypeSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/operate-type/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletThemeSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/theme/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletCategorySet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/category/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletTagSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/tag/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletWatermarkReset(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/watermark/reset',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletVirtualLikeSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/like/virtual/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletBannerSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/banner/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletChapterList(params) {
|
||||
return request({
|
||||
url: '/api/web/playlet/chapter/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function playletChapterAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/chapter/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletChapterUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/chapter/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletChapterStatusSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/chapter/status/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletChapterPayTypeSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/chapter/pay-type/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletChapterDel(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/chapter/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletChapterSync(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/chapter/sync',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function playletResourceList(params) {
|
||||
return request({
|
||||
url: '/api/web/resource/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function playletResourceChapters(params) {
|
||||
return request({
|
||||
url: '/api/web/resource/chapters',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function playletResourceImport(data) {
|
||||
return request({
|
||||
url: '/api/web/resource/import',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function playletTagList(params) {
|
||||
return request({
|
||||
url: '/api/web/playlet/tag/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function playletTagAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/tag/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletTagUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/tag/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletTagDel(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/tag/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function playletThemeList(params) {
|
||||
return request({
|
||||
url: '/api/web/playlet/theme/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function playletThemeAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/theme/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletThemeUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/theme/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletThemeDel(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/theme/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function playletTopicGroupList(params) {
|
||||
return request({
|
||||
url: '/api/web/playlet/topic-group/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function playletTopicGroupAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/topic-group/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletTopicGroupUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/topic-group/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletTopicGroupDel(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/topic-group/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function rechargePackageList(data) {
|
||||
return request({
|
||||
url: '/api/web/recharge/package/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function rechargeVipPackageList(data) {
|
||||
return request({
|
||||
url: '/api/web/recharge/package/vip/list',
|
||||
method: 'post',
|
||||
data: data || {}
|
||||
})
|
||||
}
|
||||
|
||||
export function rechargePackageAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/recharge/package/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function rechargePackageUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/recharge/package/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function rechargePackageDel(data) {
|
||||
return request({
|
||||
url: '/api/web/recharge/package/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function rechargePackageStatusSet(data) {
|
||||
return request({
|
||||
url: '/api/web/recharge/package/status/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function announcementList(data) {
|
||||
return request({
|
||||
url: '/api/web/announcement/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function announcementAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/announcement/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function announcementUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/announcement/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function announcementDel(data) {
|
||||
return request({
|
||||
url: '/api/web/announcement/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function contactusList(params) {
|
||||
return request({
|
||||
url: '/api/web/contactus/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function contactusHandle(data) {
|
||||
return request({
|
||||
url: '/api/web/contactus/handle',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function ipBlackAdd(data) { // 音频新增
|
||||
return request({
|
||||
url: '/api/web/ipblack/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function ipBlackDel(data) { // 音频新增
|
||||
return request({
|
||||
url: '/api/web/ipblack/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function ipBlackList(data) { // 音频新增
|
||||
return request({
|
||||
url: '/api/web/ipblack/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* @Author: 王涛
|
||||
* @Mail: no
|
||||
* @Date: 2020-10-04 14:54:35
|
||||
* @LastEditors: 江涛
|
||||
* @LastEditTime: 2021-03-12 20:17:59
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 操作日志
|
||||
export function accOps(data) {
|
||||
return request({
|
||||
url: '/api/web/acc/ops',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 媒资库操作日志
|
||||
export function mzkAccOps(data) {
|
||||
return request({
|
||||
url: '/media/web/acc/ops',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* @Author: 王涛
|
||||
* @Mail: no
|
||||
* @Date: 2020-10-06 01:01:28
|
||||
* @LastEditors: 江涛
|
||||
* @LastEditTime: 2021-03-23 22:03:06
|
||||
*/
|
||||
|
||||
import request from '@/utils/request'
|
||||
// 获取系统配置
|
||||
export function getSyscfg(data) {
|
||||
return request({
|
||||
url: '/api/web/syscfg/get',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改系统配置
|
||||
export function updateSyscfg(data) {
|
||||
return request({
|
||||
url: '/api/web/syscfg/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function coinTransList(data) {
|
||||
return request({
|
||||
url: '/api/web/coin/trans',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function playletSalesList(params) {
|
||||
return request({
|
||||
url: '/api/web/playlet/sales',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function vipOrderList(data) {
|
||||
return request({
|
||||
url: '/api/web/card/order/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 详情导航列表
|
||||
export function detailNavList(data) {
|
||||
return request({
|
||||
url: '/api/web/detailnav/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 新增详情导航
|
||||
export function detailNavAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/detailnav/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 编辑详情导航
|
||||
export function detailNavUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/detailnav/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除详情导航
|
||||
export function detailNavDel(data) {
|
||||
return request({
|
||||
url: '/api/web/detailnav/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function homeBannerList(params) {
|
||||
return request({
|
||||
url: '/api/web/home/banner/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function homeBannerAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/home/banner/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function homeBannerUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/home/banner/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function homeBannerDel(data) {
|
||||
return request({
|
||||
url: '/api/web/home/banner/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function homeConfigList(params) {
|
||||
return request({
|
||||
url: '/api/web/home/config/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function homeConfigAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/home/config/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function homeConfigUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/home/config/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function homeConfigDel(data) {
|
||||
return request({
|
||||
url: '/api/web/home/config/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 热门导航配置-列表
|
||||
export function hotNavList(data) {
|
||||
return request({
|
||||
url: '/api/web/hotnav/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 热门导航配置-增加
|
||||
export function hotNavAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/hotnav/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 热门导航配置-更新
|
||||
export function hotNavUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/hotnav/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 热门导航配置-删除
|
||||
export function hotNavDel(data) {
|
||||
return request({
|
||||
url: '/api/web/hotnav/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除视频
|
||||
export function translationDel(data) {
|
||||
return request({
|
||||
url: '/api/web/translation/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频列表
|
||||
export function translationSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/translation/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频
|
||||
export function translationUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/translation/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 一键同步
|
||||
export function translationAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/translation/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除视频
|
||||
export function translationcategoryDel(data) {
|
||||
return request({
|
||||
url: '/api/web/translationcategory/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频列表
|
||||
export function translationcategorySearch(data) {
|
||||
return request({
|
||||
url: '/api/web/translationcategory/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频
|
||||
export function translationcategoryUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/translationcategory/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 一键同步
|
||||
export function translationcategoryAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/translationcategory/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function feedbackList(params) {
|
||||
return request({
|
||||
url: '/api/web/feedback/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function feedbackHandle(data) {
|
||||
return request({
|
||||
url: '/api/web/feedback/handle',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getUserList(data) {
|
||||
return request({
|
||||
url: '/api/web/user/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function userUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/user/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function userVipUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/user/vip/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function userGiftCoin(data) {
|
||||
return request({
|
||||
url: '/api/web/user/giftcoin',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 封禁用户(评论管理等页面使用)
|
||||
export function userBan(data) {
|
||||
return request({
|
||||
url: '/api/web/user/ban',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 解封用户(兼容其他页面调用)
|
||||
export function userUnBan(data) {
|
||||
return userUpdate({
|
||||
id: data.userId,
|
||||
param: { status: 0 }
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2023-07-14 12:00:29
|
||||
* @LastEditTime: 2023-07-14 16:08:07
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /web-admin/src/api/userAnalysis/index.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 用户日活
|
||||
export function analyzeDau(data) {
|
||||
return request({
|
||||
url: '/api/web/analyze/dau',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 首充区间
|
||||
export function analyzeInterval(data) {
|
||||
return request({
|
||||
url: '/api/web/analyze/interval',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 二次消费
|
||||
export function analyzePurchase(data) {
|
||||
return request({
|
||||
url: '/api/web/analyze/purchase',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* @Author: 王涛
|
||||
* @Mail: no
|
||||
* @Date: 2020-10-05 14:44:43
|
||||
* @LastEditors: 江涛
|
||||
* @LastEditTime: 2021-03-24 11:39:15
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 请求视频enkey解密密钥
|
||||
export function videoFeviewList(params, urll) {
|
||||
return request({
|
||||
url: '/api/web/enkey',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function videoOk(data) {
|
||||
return request({
|
||||
url: '/media/web/upload/videoOk',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 随机选择指定条数
|
||||
export function commentLibSelect(data) {
|
||||
return request({
|
||||
url: '/api/web/post/comment/batch/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-02-22 14:30:36
|
||||
* @LastEditTime: 2022-06-06 18:02:56
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /comics-admin/src/api/videoManagement/commentManage.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 请求评论列表
|
||||
export function commentList(data) {
|
||||
return request({
|
||||
url: '/api/web/post/comment/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除评论
|
||||
export function commentDelete(data) {
|
||||
return request({
|
||||
url: '/api/web/post/comment/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 评论回复
|
||||
export function commentReply(data) {
|
||||
return request({
|
||||
url: '/api/web/post/comment/replay',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 删除所有评论
|
||||
export function commentDeluser(data) {
|
||||
return request({
|
||||
url: '/api/web/post/comment/user/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 评论审核
|
||||
export function commentReview(data) {
|
||||
return request({
|
||||
url: '/api/web/post/comment/review',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 评论批量审核
|
||||
export function commentReviewBatch(data) {
|
||||
return request({
|
||||
url: '/api/web/post/comment/reviewBatch',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 评论编辑/评论置顶
|
||||
export function commentUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/post/comment/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function dockingVideoTopicList(data) {
|
||||
return request({
|
||||
url: '/api/web/videotopic/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingVideoTopicAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/videotopic/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingVideoTopicUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/videotopic/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingVideoTopicDel(data) {
|
||||
return request({
|
||||
url: '/api/web/videotopic/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function dockingVideoTopicUpdateSlug(data) {
|
||||
return request({
|
||||
url: '/api/web/videotopic/updateslug',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-03-14 15:25:07
|
||||
* @LastEditTime: 2022-06-06 18:03:01
|
||||
* @LastEditors:
|
||||
* @FilePath: /comics-admin/src/api/videoManagement/filterWord.js
|
||||
*/
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取非法词列表
|
||||
export function getFilterList(data) {
|
||||
return request({
|
||||
url: 'api/web/filterword/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
// 删除非法词
|
||||
export function filterWordDel(data) {
|
||||
return request({
|
||||
url: '/api/web/filterword/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 新增非法词
|
||||
export function filterWordAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/filterword/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 标签分类列表
|
||||
export function videoLabelList(data) {
|
||||
return request({
|
||||
url: '/api/web/videotagcategory/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 新增标签分类
|
||||
export function videoLabelAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/videotagcategory/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 修改标签分类
|
||||
export function videoLabelUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/videotagcategory/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除标签分类
|
||||
export function videoLabelDel(data) {
|
||||
return request({
|
||||
url: '/api/web/videotagcategory/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-07-21 19:49:58
|
||||
* @LastEditTime: 2023-02-22 10:33:20
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /xd_web_admin/src/api/videoManagement/mdsqsyncMedia.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 快手视频列表
|
||||
export function mdsqsyncMediaSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/mdsync/media/search',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求快手标签
|
||||
export function mdsqsyncMediatagSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/mdsync/mediatag/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求快手分类
|
||||
export function mdsqsyncMediacategorySearch(data) {
|
||||
return request({
|
||||
url: '/api/web/mdsync/mediacategory/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求快手专题
|
||||
export function mdsqsyncTopicSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/mdsync/topic/search',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量同步快手资源
|
||||
export function mdsqsyncSyncmedias(data) {
|
||||
return request({
|
||||
url: '/api/web/mdsync/syncmedias',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-07-07 15:16:43
|
||||
* @LastEditTime: 2022-07-07 15:17:51
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /web_admin/src/api/videoManagement/recommend.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 视频推荐列表
|
||||
export function recommendSeach(data) {
|
||||
return request({
|
||||
url: '/api/web/media/recommend/search',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除推荐视频
|
||||
export function recommendDel(data) {
|
||||
return request({
|
||||
url: '/api/web/media/recommend/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-03-14 15:25:07
|
||||
* @LastEditTime: 2022-06-06 18:03:15
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /comics-admin/src/api/videoManagement/recommendTopic.js
|
||||
*/
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function topicAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/recommend/topic/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function topicDel(data) {
|
||||
return request({
|
||||
url: '/api/web/recommend/topic/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function topicList(data) {
|
||||
return request({
|
||||
url: '/api/web/recommend/topic/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
export function topicUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/recommend/topic/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-07-21 19:49:58
|
||||
* @LastEditTime: 2023-02-22 10:33:20
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /xd_web_admin/src/api/videoManagement/mdsqsyncMedia.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 快手视频列表
|
||||
export function kkjmsqsyncMediaSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/kkjmsync/media/search',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求快手标签
|
||||
export function kkjmsqsyncMediatagSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/kkjmsync/mediatag/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求快手分类
|
||||
export function kkjmsqsyncMediacategorySearch(data) {
|
||||
return request({
|
||||
url: '/api/web/kkjmsync/mediacategory/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求快手专题
|
||||
export function kkjmsqsyncTopicSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/kkjmsync/topic/search',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量同步快手资源
|
||||
export function kkjmsqsyncSyncmedias(data) {
|
||||
return request({
|
||||
url: '/api/web/kkjmsync/syncmedias',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除视频
|
||||
export function videocategoryDel(data) {
|
||||
return request({
|
||||
url: '/api/web/videocategory/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频列表
|
||||
export function videocategorySearch(data) {
|
||||
return request({
|
||||
url: '/api/web/videocategory/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频
|
||||
export function videocategoryUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/videocategory/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 一键同步
|
||||
export function videocategoryAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/videocategory/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function videoinfoAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/sync',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除视频
|
||||
export function videoinfoDel(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频列表
|
||||
export function videoinfoSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频
|
||||
export function videoinfoUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频转H265
|
||||
export function videoinfoTranscode(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/transcode',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频
|
||||
export function videoBindPreview(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/bindpre',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-01-21 16:55:02
|
||||
* @LastEditTime: 2022-08-09 21:30:33
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /sq_web_admin/src/api/videoManagement/videoRank.js
|
||||
*/
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询视频排行榜
|
||||
export function mediarankList(data) {
|
||||
return request({
|
||||
url: '/api/web/mediarank/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除视频排行榜
|
||||
export function mediarankDel(data) {
|
||||
return request({
|
||||
url: '/api/web/mediarank/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 添加一个视频排行榜
|
||||
export function mediarankAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/mediarank/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 更新一个视频排行榜
|
||||
export function mediarankupdate(data) {
|
||||
return request({
|
||||
url: '/api/web/mediarank/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除视频
|
||||
export function videotopicDel(data) {
|
||||
return request({
|
||||
url: '/api/web/videotopic/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频列表
|
||||
export function videotopicSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/videotopic/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频
|
||||
export function videotopicUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/videotopic/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 一键同步
|
||||
export function videotopicAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/videotopic/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 修改合集内视频列表
|
||||
export function videocollectionOption(data) {
|
||||
return request({
|
||||
url: '/api/web/videocollection/media/option',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取合集视频列表
|
||||
export function videocollectionMediaList(data) {
|
||||
return request({
|
||||
url: '/api/web/videocollection/media/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 修改合集里的视频排序
|
||||
export function videocollectionMediaRank(data) {
|
||||
return request({
|
||||
url: '/api/web/videocollection/media/rank',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 新增合集
|
||||
export function addVideocollectionMedia(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/addcoll',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除视频作者
|
||||
export function videocreaterDel(data) {
|
||||
return request({
|
||||
url: '/api/web/videocreater/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频作者列表
|
||||
export function videocreaterSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/videocreater/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频作者
|
||||
export function videocreaterUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/videocreater/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 一键同步
|
||||
export function videocreaterAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/videocreater/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 视频标签列表
|
||||
export function videotagList(data) {
|
||||
return request({
|
||||
url: '/api/web/videotag/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除视频标签
|
||||
export function videotagDel(data) {
|
||||
return request({
|
||||
url: '/api/web/videotag/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 新增视频标签
|
||||
export function videotagAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/videotag/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 更新视频标签
|
||||
export function videotagUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/videotag/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* @Author:
|
||||
* @Mail:
|
||||
* @Date: 2022-07-21 19:49:58
|
||||
* @LastEditTime: 2022-07-21 21:26:34
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @FilePath: /xd_web_admin/src/api/videoManagement/zhsyncMedia.js
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 快手视频列表
|
||||
export function zhsyncMediaSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/zhsync/media/search',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求快手标签
|
||||
export function zhsyncMediatagSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/zhsync/mediatag/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求快手分类
|
||||
export function zhsyncMediacategorySearch(data) {
|
||||
return request({
|
||||
url: '/api/web/zhsync/mediacategory/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 请求快手专题
|
||||
export function zhsyncTopicSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/zhsync/topic/search',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量同步快手资源
|
||||
export function zhsyncSyncmedias(data) {
|
||||
return request({
|
||||
url: '/api/web/zhsync/syncmedias',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 请求富文本列表
|
||||
export function richtextcontentList(data) {
|
||||
return request({
|
||||
url: '/api/web/richtextcontent/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 富文本更新更新
|
||||
export function richtextcontentUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/richtextcontent/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 新增富文本
|
||||
export function richtextcontentAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/richtextcontent/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除富文本
|
||||
export function richtextcontentDel(data) {
|
||||
return request({
|
||||
url: '/api/web/richtextcontent/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user