自定义主题 改为30天过期

This commit is contained in:
tianfeng 2025-09-11 20:18:08 +08:00
parent 9aeb964863
commit 845947a780
2 changed files with 2 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class RoomThemeUserCustomizeServiceImpl implements RoomThemeUserCustomize
.setUserId(approvalUserParam.getUserId()) .setUserId(approvalUserParam.getUserId())
.setThemeType(1) .setThemeType(1)
.setUseTheme(Boolean.FALSE) .setUseTheme(Boolean.FALSE)
.setExpireTime(TimestampUtils.nowPlusYear(10).getTime()) .setExpireTime(TimestampUtils.nowPlusDays(30).getTime())
); );
} }
// 推送通知 // 推送通知

View File

@ -67,6 +67,7 @@ public class RoomThemeUserBackpackListQryExe {
.setId(customizeTheme.getId()) .setId(customizeTheme.getId())
.setThemeBack(customizeTheme.getThemeBack()) .setThemeBack(customizeTheme.getThemeBack())
.setThemeStatus(customizeTheme.getThemeStatus()) .setThemeStatus(customizeTheme.getThemeStatus())
.setExpireTime(theme.getExpireTime())
.setUseTheme(theme.getUseTheme()); .setUseTheme(theme.getUseTheme());
} }
throw new IllegalArgumentException("get user theme [data] error"); throw new IllegalArgumentException("get user theme [data] error");