@ -132,11 +132,8 @@ public class MyController extends BaseController {
}
boolean isChangeNickName = false;
if(!Objects.equals(nickName, user.getNickName())) {
// 修改了昵称
isChangeNickName = true;
boolean isChangeNickName = !Objects.equals(nickName, user.getNickName());
if (!StringTools.isEmpty(nickName)) {
user.setNickName(nickName);