|
|
@@ -12,7 +12,7 @@ export function listPushConfig(query) {
|
|
|
// 查询推送配置详细
|
|
|
export function getPushConfig(pcId) {
|
|
|
return request({
|
|
|
- url: '/push/pushConfig/' + pcId,
|
|
|
+ url: '/push/pushConfig/detail?pcId=' + pcId,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
@@ -38,14 +38,14 @@ export function updatePushConfig(data) {
|
|
|
// 删除推送配置
|
|
|
export function delPushConfig(pcId) {
|
|
|
return request({
|
|
|
- url: '/push/pushConfig/del/' + pcId,
|
|
|
+ url: '/push/pushConfig/del' + pcId,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-export function sendTestConfig(type,query){
|
|
|
+export function sendTestConfig(type, query) {
|
|
|
return request({
|
|
|
- url: '/push/pushConfig/'+type,
|
|
|
+ url: '/push/pushConfig/' + type,
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|