release: 修改昵称积分任务

release-2024-08-08
huangyw 4 months ago
parent 8c5bab19e1
commit 07001a12cd

@ -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);

Loading…
Cancel
Save