浏览代码

add 教务端增加添加维修

周箭河 5 年之前
父节点
当前提交
004d6e610d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      mec-web/src/main/java/com/ym/mec/web/controller/education/EduRepairController.java

+ 2 - 1
mec-web/src/main/java/com/ym/mec/web/controller/education/EduRepairController.java

@@ -16,6 +16,7 @@ import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.HttpStatus;
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
@@ -52,7 +53,7 @@ public class EduRepairController extends BaseController {
     }
 
     @ApiOperation("添加维修单")
-    @GetMapping(value = "/addRepair")
+    @PostMapping(value = "/addRepair")
     public HttpResponseResult addRepair(StudentRepair repairInfo) throws Exception {
         SysUser sysUser = sysUserFeignService.queryUserInfo();
         if (sysUser == null) {