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 notificationAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/notification/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除一个通知
|
||||
export function notificationDel(data) {
|
||||
return request({
|
||||
url: '/api/web/notification/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取通知列表
|
||||
export function notificationList(params) {
|
||||
return request({
|
||||
url: '/api/web/notification/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 修改一个通知
|
||||
export function notificationUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/notification/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user