You've already forked FrameTour-BE
refactor(scenic): 重构景区配置相关代码
- 为 FeignClient 添加 contextId 属性,提高服务调用的可读性 - 更新 ScenicIntegrationService 中的接口调用方式 - 修改 ScenicConfigEntity 和 ScenicConfigResp 中的字段类型 -重构 ScenicRepository 中的配置解析逻辑,使用 ConfigValueUtil 工具类
This commit is contained in:
@@ -72,12 +72,12 @@ public class ScenicConfigEntity {
|
||||
* 是否禁用源视频
|
||||
* 0-否 1-是
|
||||
*/
|
||||
private Integer disableSourceVideo;
|
||||
private Boolean disableSourceVideo;
|
||||
/**
|
||||
* 是否禁用源图片
|
||||
* 0-否 1-是
|
||||
*/
|
||||
private Integer disableSourceImage;
|
||||
private Boolean disableSourceImage;
|
||||
private Integer templateNewVideoType;
|
||||
/**
|
||||
* 是否开启防录屏
|
||||
@@ -130,5 +130,5 @@ public class ScenicConfigEntity {
|
||||
* 是否启用券码功能
|
||||
* 0-禁用 1-启用
|
||||
*/
|
||||
private Integer voucherEnable;
|
||||
private Boolean voucherEnable;
|
||||
}
|
||||
|
@@ -35,8 +35,8 @@ public class ScenicConfigResp {
|
||||
*/
|
||||
private Integer videoStoreDay;
|
||||
private Integer allFree;
|
||||
private Integer disableSourceVideo;
|
||||
private Integer disableSourceImage;
|
||||
private Boolean disableSourceVideo;
|
||||
private Boolean disableSourceImage;
|
||||
private Integer antiScreenRecordType;
|
||||
private Integer videoSourceStoreDay;
|
||||
private Integer imageSourceStoreDay;
|
||||
@@ -45,9 +45,5 @@ public class ScenicConfigResp {
|
||||
|
||||
private String imageSourcePackHint = "";
|
||||
private String videoSourcePackHint = "";
|
||||
/**
|
||||
* 是否启用券码功能
|
||||
* 0-禁用 1-启用
|
||||
*/
|
||||
private Integer voucherEnable;
|
||||
private Boolean voucherEnable;
|
||||
}
|
||||
|
Reference in New Issue
Block a user