소스 검색

事件流转,禁止重复提交

lyq 1 년 전
부모
커밋
56d30be279
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/main/java/com/sooka/sponest/mobile/event/controller/AppEventController.java

+ 2 - 3
src/main/java/com/sooka/sponest/mobile/event/controller/AppEventController.java

@@ -1,7 +1,5 @@
 package com.sooka.sponest.mobile.event.controller;
 
-import com.alibaba.fastjson.JSONObject;
-import com.ruoyi.common.core.constant.HttpStatus;
 import com.ruoyi.common.core.domain.R;
 import com.ruoyi.common.core.utils.uuid.IdUtils;
 import com.ruoyi.common.core.web.domain.AjaxResult;
@@ -141,7 +139,7 @@ public class AppEventController extends AppBaseController {
      */
     @ApiOperation(value = "反馈列表", notes = "反馈列表")
     @GetMapping("eventLogList")
-    public AjaxResult eventLogList(String pageNum, String pageSize,String eventCode) {
+    public AjaxResult eventLogList(String pageNum, String pageSize, String eventCode) {
         return remoteCenterBaseService.eventLogList(pageNum, pageSize, eventCode);
     }
 
@@ -185,6 +183,7 @@ public class AppEventController extends AppBaseController {
      * @since 2023/2/22 13:46
      */
     @ApiOperation(value = "修改状态", notes = "修改状态")
+    @NoRepeatSubmit
     @PostMapping("EventFeignedit")
     public R EventFeignedit(@RequestBody CentereventtDeptEventBO centereventtDeptEventBO) {
         return remoteCenterBaseService.EventFeignedit(centereventtDeptEventBO);