he2802 4 лет назад
Родитель
Сommit
ecc4423e67

+ 1 - 1
zhongzheng-admin/src/main/java/com/zhongzheng/controller/user/UserSchoolInfoController.java

@@ -95,7 +95,7 @@ public class UserSchoolInfoController extends BaseController {
     @ApiOperation("修改用户学校信息")
     @PreAuthorize("@ss.hasPermi('system:info:edit')")
     @Log(title = "用户学校信息", businessType = BusinessType.UPDATE)
-    @PutMapping()
+    @PostMapping("/edit")
     public AjaxResult<Void> edit(@RequestBody UserSchoolInfoEditBo bo) throws IllegalAccessException {
         return toAjax(iUserSchoolInfoService.updateByEditBo(bo,true) ? 1 : 0);
     }