From ec4d894c444fe4092f7633c9be59ebcbb95c1773 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期一, 19 九月 2022 10:39:43 +0800
Subject: [PATCH] 临时提交

---
 src/main/java/com/ruoyi/doublePrevention/controller/PreventRiskEventController.java |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/ruoyi/doublePrevention/controller/PreventRiskEventController.java b/src/main/java/com/ruoyi/doublePrevention/controller/PreventRiskEventController.java
index 97014fb..1a3eda7 100644
--- a/src/main/java/com/ruoyi/doublePrevention/controller/PreventRiskEventController.java
+++ b/src/main/java/com/ruoyi/doublePrevention/controller/PreventRiskEventController.java
@@ -15,17 +15,14 @@
 import com.ruoyi.doublePrevention.vo.ResultVO;
 import com.ruoyi.project.system.user.domain.User;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 
 import java.util.List;
 
 import static com.ruoyi.common.utils.security.ShiroUtils.getSysUser;
 
 @RestController
-@RequestMapping("/prevent/riskEvent")
+@RequestMapping("/riskEvent")
 public class PreventRiskEventController {
 
     @Autowired
@@ -74,7 +71,7 @@
     /**
      * @description 获取所有风险事件不分页
      */
-    @PostMapping("/select/listRiskEvent")
+    @GetMapping("/select/listRiskEvent")
     public ResultVO<List<PreventRiskEventListQueryRespDTO>> listRiskEvent() {
         return riskService.listRiskEvent();
     }

--
Gitblit v1.9.2