|
@@ -86,8 +86,8 @@ public class PushConfigController extends BaseController {
|
|
|
*/
|
|
|
@ApiOperation("获取推送配置详细信息")
|
|
|
//@PreAuthorize("@ss.hasPermi('push:pushConfig:query')")
|
|
|
- @GetMapping(value = "/{pcId}")
|
|
|
- public AjaxResult getInfo(@PathVariable("pcId") Long pcId) {
|
|
|
+ @GetMapping(value = "/detail")
|
|
|
+ public AjaxResult getInfo(Long pcId) {
|
|
|
return success(pushConfigService.selectPushConfigByPcId(pcId));
|
|
|
}
|
|
|
|
|
@@ -124,8 +124,8 @@ public class PushConfigController extends BaseController {
|
|
|
@ApiOperation("删除推送配置")
|
|
|
//@PreAuthorize("@ss.hasPermi('push:pushConfig:remove')")
|
|
|
@Log(title = "推送配置", businessType = BusinessType.DELETE)
|
|
|
- @GetMapping("/del/{pcIds}")
|
|
|
- public AjaxResult remove(@PathVariable Long[] pcIds) {
|
|
|
+ @GetMapping("/del")
|
|
|
+ public AjaxResult remove(Long[] pcIds) {
|
|
|
return toAjax(pushConfigService.deletePushConfigByPcIds(pcIds));
|
|
|
}
|
|
|
}
|