1.add default signature: "独立不独于世"

main
Gary 9 months ago
parent b4b999b964
commit 33df3e7aef

@ -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_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_8 = 8;
public static final Integer LENGTH_10 = 10; public static final Integer LENGTH_10 = 10;

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

Loading…
Cancel
Save