浏览代码

事件流转,禁止重复提交

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;
 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.domain.R;
 import com.ruoyi.common.core.utils.uuid.IdUtils;
 import com.ruoyi.common.core.utils.uuid.IdUtils;
 import com.ruoyi.common.core.web.domain.AjaxResult;
 import com.ruoyi.common.core.web.domain.AjaxResult;
@@ -141,7 +139,7 @@ public class AppEventController extends AppBaseController {
      */
      */
     @ApiOperation(value = "反馈列表", notes = "反馈列表")
     @ApiOperation(value = "反馈列表", notes = "反馈列表")
     @GetMapping("eventLogList")
     @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);
         return remoteCenterBaseService.eventLogList(pageNum, pageSize, eventCode);
     }
     }
 
 
@@ -185,6 +183,7 @@ public class AppEventController extends AppBaseController {
      * @since 2023/2/22 13:46
      * @since 2023/2/22 13:46
      */
      */
     @ApiOperation(value = "修改状态", notes = "修改状态")
     @ApiOperation(value = "修改状态", notes = "修改状态")
+    @NoRepeatSubmit
     @PostMapping("EventFeignedit")
     @PostMapping("EventFeignedit")
     public R EventFeignedit(@RequestBody CentereventtDeptEventBO centereventtDeptEventBO) {
     public R EventFeignedit(@RequestBody CentereventtDeptEventBO centereventtDeptEventBO) {
         return remoteCenterBaseService.EventFeignedit(centereventtDeptEventBO);
         return remoteCenterBaseService.EventFeignedit(centereventtDeptEventBO);