|
@@ -13,6 +13,7 @@ import lombok.RequiredArgsConstructor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PutMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -37,7 +38,7 @@ public class UserInfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @GetMapping(value = "/realname")
|
|
|
+ @PutMapping(value = "/realname")
|
|
|
@ApiOperation("更新用户信息真实姓名")
|
|
|
public Response updaterealname(String realName){
|
|
|
UserInfo student = SecurityUtils.getLoginUser().getStudent();
|