feat(scenic): 添加景区配置人脸优先选择功能

- 在AppScenicController中新增faceSelectFirst字段返回
- 在ScenicConfigResp中增加faceSelectFirst属性默认值为false- 支持景区配置中设置人脸识别优先级开关
This commit is contained in:
2025-10-28 15:41:46 +08:00
parent cc68a8dbbd
commit 636ab96e96
2 changed files with 2 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ public class AppScenicController {
resp.setImageSourcePackHint(scenicConfig.getString("image_source_pack_hint")); resp.setImageSourcePackHint(scenicConfig.getString("image_source_pack_hint"));
resp.setVideoSourcePackHint(scenicConfig.getString("video_source_pack_hint")); resp.setVideoSourcePackHint(scenicConfig.getString("video_source_pack_hint"));
resp.setShareBeforeBuy(scenicConfig.getBoolean("share_before_buy")); resp.setShareBeforeBuy(scenicConfig.getBoolean("share_before_buy"));
resp.setFaceSelectFirst(scenicConfig.getBoolean("face_select_first", false));
return ApiResponse.success(resp); return ApiResponse.success(resp);
} }

View File

@@ -56,4 +56,5 @@ public class ScenicConfigResp {
*/ */
private String videoSourcePackHint = ""; private String videoSourcePackHint = "";
private Boolean shareBeforeBuy = true; private Boolean shareBeforeBuy = true;
private Boolean faceSelectFirst = false;
} }