|
@@ -37,6 +37,15 @@ public class UserInfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ @GetMapping(value = "/realname")
|
|
|
+ @ApiOperation("更新用户信息真实姓名")
|
|
|
+ public Response updaterealname(String realName){
|
|
|
+ UserInfo student = SecurityUtils.getLoginUser().getStudent();
|
|
|
+ student.setRealName(realName);
|
|
|
+ return Response.success(userInfoService.updateById(student));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|