diff --git a/luoo_common/src/main/java/constants/Constants.java b/luoo_common/src/main/java/constants/Constants.java index 8aca6da..c30d211 100644 --- a/luoo_common/src/main/java/constants/Constants.java +++ b/luoo_common/src/main/java/constants/Constants.java @@ -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; diff --git a/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java b/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java index 1648c14..9bd38c6 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java +++ b/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java @@ -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());