Initial commit: web_hghl admin project
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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,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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user