From 636ab96e9623e3ca0e1efa7fffbfc843e16bc265 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Tue, 28 Oct 2025 15:41:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(scenic):=20=E6=B7=BB=E5=8A=A0=E6=99=AF?= =?UTF-8?q?=E5=8C=BA=E9=85=8D=E7=BD=AE=E4=BA=BA=E8=84=B8=E4=BC=98=E5=85=88?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在AppScenicController中新增faceSelectFirst字段返回 - 在ScenicConfigResp中增加faceSelectFirst属性默认值为false- 支持景区配置中设置人脸识别优先级开关 --- .../com/ycwl/basic/controller/mobile/AppScenicController.java | 1 + .../com/ycwl/basic/model/pc/scenic/resp/ScenicConfigResp.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/ycwl/basic/controller/mobile/AppScenicController.java b/src/main/java/com/ycwl/basic/controller/mobile/AppScenicController.java index 8432c782..5876c7e6 100644 --- a/src/main/java/com/ycwl/basic/controller/mobile/AppScenicController.java +++ b/src/main/java/com/ycwl/basic/controller/mobile/AppScenicController.java @@ -81,6 +81,7 @@ public class AppScenicController { resp.setImageSourcePackHint(scenicConfig.getString("image_source_pack_hint")); resp.setVideoSourcePackHint(scenicConfig.getString("video_source_pack_hint")); resp.setShareBeforeBuy(scenicConfig.getBoolean("share_before_buy")); + resp.setFaceSelectFirst(scenicConfig.getBoolean("face_select_first", false)); return ApiResponse.success(resp); } diff --git a/src/main/java/com/ycwl/basic/model/pc/scenic/resp/ScenicConfigResp.java b/src/main/java/com/ycwl/basic/model/pc/scenic/resp/ScenicConfigResp.java index 0266ef27..d497e5a8 100644 --- a/src/main/java/com/ycwl/basic/model/pc/scenic/resp/ScenicConfigResp.java +++ b/src/main/java/com/ycwl/basic/model/pc/scenic/resp/ScenicConfigResp.java @@ -56,4 +56,5 @@ public class ScenicConfigResp { */ private String videoSourcePackHint = ""; private Boolean shareBeforeBuy = true; + private Boolean faceSelectFirst = false; }