From 6f3433551682ed596fe2c75ce0eb4181e550f053 Mon Sep 17 00:00:00 2001 From: SZH <szh_hello@163.com> Date: 星期五, 16 九月 2022 14:47:30 +0800 Subject: [PATCH] 修改配置文件 --- incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java index 5f4918b..ab0c764 100644 --- a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java +++ b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java @@ -60,8 +60,8 @@ /** * 事故报告删除/批量删除 */ - @RequestMapping(value = "/batchDelete/{ids}",method = RequestMethod.GET) - public ResultVO batchDeleteAccidentReport(@PathVariable("ids")String ids){ + @RequestMapping(value = "/batchDelete",method = RequestMethod.POST) + public ResultVO batchDeleteAccidentReport(@RequestBody Long[] ids){ return accidentReportService.batchDeleteAccidentReport(ids); } -- Gitblit v1.9.2