|
@@ -700,6 +700,9 @@ public class UserApiController extends BaseApiController {
|
|
|
||StringUtils.isBlank(nickname)){
|
|
||StringUtils.isBlank(nickname)){
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"用户信息不全"));
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"用户信息不全"));
|
|
|
}
|
|
}
|
|
|
|
|
+ if (nickname.length()>6) {
|
|
|
|
|
+ res.getError().add(buildError("昵称长度必须小于6","昵称长度必须小于6"));
|
|
|
|
|
+ }
|
|
|
User user = new User();
|
|
User user = new User();
|
|
|
user.setId(TokenManager.getUserId());
|
|
user.setId(TokenManager.getUserId());
|
|
|
user.setIdentifyName(identifyName);
|
|
user.setIdentifyName(identifyName);
|