@ -26,6 +26,8 @@ public class Constants {
public static final String DEFAULT_USER_AVATAR = "user/avatar/default_20240129_111811.jpg";
public static final String DEFAULT_USER_SIGNATURE = "独立不独于世";
public static final Integer LENGTH_8 = 8;
public static final Integer LENGTH_10 = 10;
@ -204,6 +204,7 @@ public class UserInfoService {
user.setLastLoginTime(curDate);
user.setStatus(UserStatusEnum.ENABLE.getStatus());
user.setAvatar(Constants.DEFAULT_USER_AVATAR);
user.setSignature(Constants.DEFAULT_USER_SIGNATURE);
} else {
user.setLastUseDeviceId(userInfo.getLastUseDeviceId());
user.setLastUseDeviceBrand(userInfo.getLastUseDeviceBrand());