feat(face): 增加人脸状态查询功能

- 新增 FaceStatusResp 类用于人脸状态响应- 在 AppFaceController 中添加人脸状态查询相关接口
- 在 FaceService 接口中定义相关方法- 实现 FaceServiceImpl 中的人脸状态查询逻辑
- 优化 ContentPageVO 类,增加 group 字段
This commit is contained in:
2025-09-15 10:13:41 +08:00
parent bf672a8af7
commit c5f7003077
6 changed files with 198 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
package com.ycwl.basic.model.mobile.face;
import lombok.Data;
/**
* 人脸状态响应对象
*
* @author Claude Code
*/
@Data
public class FaceStatusResp {
/**
* 人脸ID
*/
private Long faceId;
private String faceUrl;
/**
* 识别次数,0表示未识别过
*/
private Long recognitionCount;
/**
* 是否触发过低阈值检测
*/
private Boolean hasLowThreshold;
private String displayText;
private boolean step1Status;
// private String step1Text;
private boolean step2Status;
// private String step2Text;
private boolean step3Status;
// private String step3Text;
}

View File

@@ -13,6 +13,7 @@ import java.math.BigDecimal;
public class ContentPageVO {
// 内容名称
private String name;
private String group;
// 景区id
private Long scenicId;
// 景区名称