|
@@ -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) {
|