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