You've already forked FrameTour-BE
feat(scenic): 添加打印相关配置项
- 新增智能抓拍打印开关配置 - 新增打印必须录入人脸开关配置 - 新增手机照片打印开关配置 - 在AppScenicController中设置打印相关配置项 - 在ScenicConfigResp中添加打印配置字段
This commit is contained in:
@@ -82,6 +82,9 @@ public class AppScenicController {
|
|||||||
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));
|
resp.setFaceSelectFirst(scenicConfig.getBoolean("face_select_first", false));
|
||||||
|
resp.setPrintEnableSource(scenicConfig.getBoolean("print_enable_source", true));
|
||||||
|
resp.setPrintForceFaceUpload(scenicConfig.getBoolean("print_force_face_upload", false));
|
||||||
|
resp.setPrintEnableManual(scenicConfig.getBoolean("print_enable_manual", true));
|
||||||
return ApiResponse.success(resp);
|
return ApiResponse.success(resp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,21 @@ public class ScenicConfigResp {
|
|||||||
*/
|
*/
|
||||||
private Boolean showPhotoWhenWaiting;
|
private Boolean showPhotoWhenWaiting;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 智能抓拍打印开关
|
||||||
|
*/
|
||||||
|
private Boolean printEnableSource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 打印必须录入人脸开关
|
||||||
|
*/
|
||||||
|
private Boolean printForceFaceUpload;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手机照片打印开关
|
||||||
|
*/
|
||||||
|
private Boolean printEnableManual;
|
||||||
|
|
||||||
// ========== 提示文案 ==========
|
// ========== 提示文案 ==========
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user