@ -18,6 +18,8 @@ public class Constants {
public static final String RESOURCE_PREFIX = "http://cdn.indie.cn/";
public static final String MUSIC_RESOURCE_PREFIX = RESOURCE_PREFIX + "music/";
public static final String DEFAULT_USER_AVATAR = "user/avatar/default_20240129_111811.jpg";
public static final Integer LENGTH_8 = 8;
public static final Integer LENGTH_10 = 10;
@ -297,6 +297,7 @@ public class UserInfoService {
user.setJoinTime(curDate);
user.setLastLoginTime(curDate);
user.setStatus(UserStatusEnum.ENABLE.getStatus());
user.setAvatar(Constants.DEFAULT_USER_AVATAR);
} else {
user.setLastUseDeviceId(userInfo.getLastUseDeviceId());
user.setLastUseDeviceBrand(userInfo.getLastUseDeviceBrand());