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 broadcastAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/broadcast/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除一个广播
|
||||
export function broadcastDel(data) {
|
||||
return request({
|
||||
url: '/api/web/broadcast/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 跑马灯配置管理
|
||||
export function broadcastList(params) {
|
||||
return request({
|
||||
url: '/api/web/broadcast/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 修改一个广播
|
||||
export function broadcastUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/broadcast/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user