feat:极光推送
This commit is contained in:
1 parent
802b9a5447
commit
36cccf30ef
4 files changed
+530
No files matched your search
+44
@@ -0,0 +1,44 @@
|
||||
import request from "/@/utils/request"
|
||||
|
||||
// 新增推送配置
|
||||
export function create(data: any) {
|
||||
return request({
|
||||
url: "/third/push-conf/create",
|
||||
method: "post",
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
// 修改推送配置
|
||||
export function update(data: any) {
|
||||
return request({
|
||||
url: "/third/push-conf/edit",
|
||||
method: "post",
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
// 查询详情
|
||||
export function detail(id: any) {
|
||||
return request({
|
||||
url: `/third/push-conf/detail/${id}`,
|
||||
method: "get",
|
||||
})
|
||||
}
|
||||
|
||||
// 删除推送配置
|
||||
export function delById(id: any) {
|
||||
return request({
|
||||
url: `/third/push-conf/remove/${id}`,
|
||||
method: "post",
|
||||
})
|
||||
}
|
||||
|
||||
// 查询推送配置列表
|
||||
export function list(data: any) {
|
||||
return request({
|
||||
url: "/third/push-conf/list",
|
||||
method: "post",
|
||||
data,
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user