refactor(service): 移除 themeStatus 字段并新增 themeDownloadUrl
- 删除 VO 中的 themeStatus 属性 - 新增 themeDownloadUrl 用于前端下载 - 简化购买记录字段赋值顺序
This commit is contained in:
@@ -52,11 +52,9 @@ public class KeyboardThemesRespVO {
|
|||||||
|
|
||||||
@Schema(description = "预览图")
|
@Schema(description = "预览图")
|
||||||
private String themePreviewImageUrl;
|
private String themePreviewImageUrl;
|
||||||
/**
|
|
||||||
* 主题状态
|
@Schema(description = "下载地址")
|
||||||
*/
|
private String themeDownloadUrl;
|
||||||
@Schema(description = "主题状态")
|
|
||||||
private Boolean themeStatus;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 主题购买次数
|
* 主题购买次数
|
||||||
|
|||||||
@@ -236,7 +236,6 @@ public class KeyboardThemePurchaseServiceImpl extends ServiceImpl<KeyboardThemeP
|
|||||||
vo.setThemeTag(theme.getThemeTag()); // 主题标签
|
vo.setThemeTag(theme.getThemeTag()); // 主题标签
|
||||||
vo.setThemeDownload(theme.getThemeDownload()); // 下载地址
|
vo.setThemeDownload(theme.getThemeDownload()); // 下载地址
|
||||||
vo.setThemeStyle(theme.getThemeStyle()); // 主题风格
|
vo.setThemeStyle(theme.getThemeStyle()); // 主题风格
|
||||||
vo.setThemeStatus(theme.getThemeStatus()); // 主题状态
|
|
||||||
vo.setThemePurchasesNumber(theme.getThemePurchasesNumber()); // 购买次数
|
vo.setThemePurchasesNumber(theme.getThemePurchasesNumber()); // 购买次数
|
||||||
vo.setSort(theme.getSort()); // 排序值
|
vo.setSort(theme.getSort()); // 排序值
|
||||||
vo.setIsFree(theme.getIsFree()); // 是否免费
|
vo.setIsFree(theme.getIsFree()); // 是否免费
|
||||||
|
|||||||
Reference in New Issue
Block a user