Initial commit: web_hghl admin project
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,161 @@
|
||||
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 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 playletVirtualBrowseSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/browse/virtual/set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function playletVirtualHeatSet(data) {
|
||||
return request({
|
||||
url: '/api/web/playlet/heat/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 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
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user