1.set default thumbnail for user

main
Gary 10 months ago
parent 3f7a38cad1
commit 5a0e460890

@ -42,6 +42,7 @@ public class Constants {
public static final String TAG_RESOURCE_PREFIX = RESOURCE_PREFIX + "tag/";
public static final String DEFAULT_USER_AVATAR = "user/avatar/default_20240227_232949.jpg";
public static final String DEFAULT_USER_THUMBNAIL = "user/avatar/default_20240227_232949_thumbnail.jpg";
public static final String DEFAULT_USER_SIGNATURE = "独立 不独于世";

@ -204,6 +204,7 @@ public class UserInfoService {
userInfo.setLastLoginTime(curDate);
userInfo.setStatus(UserStatusEnum.ENABLE.getStatus());
userInfo.setAvatar(Constants.DEFAULT_USER_AVATAR);
userInfo.setThumbnail(Constants.DEFAULT_USER_THUMBNAIL);
userInfo.setSignature(Constants.DEFAULT_USER_SIGNATURE);
} else {
userInfo.setLastUseDeviceId(loginUserInfo.getLastUseDeviceId());

Loading…
Cancel
Save