refactor(scenic): 重构景区配置相关代码

- 为 FeignClient 添加 contextId 属性,提高服务调用的可读性
- 更新 ScenicIntegrationService 中的接口调用方式
- 修改 ScenicConfigEntity 和 ScenicConfigResp 中的字段类型
-重构 ScenicRepository 中的配置解析逻辑,使用 ConfigValueUtil 工具类
This commit is contained in:
2025-08-26 14:17:26 +08:00
parent 5871beb84e
commit f0aeb27566
10 changed files with 448 additions and 113 deletions

View File

@@ -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;
}

View File

@@ -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;
}