init: 华葵后台管理系统初始化提交
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user