You've already forked FrameTour-BE
修改
This commit is contained in:
@@ -33,7 +33,7 @@ public class FaceDetectLog {
|
||||
private String matchLocalRecord;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<SearchFaceResponse.Data.MatchListItem.FaceItemsItem> matchRawRecord;
|
||||
private List matchRawRecord;
|
||||
|
||||
public static FaceDetectLog quickCreate(String reason) {
|
||||
FaceDetectLog log = new FaceDetectLog();
|
||||
@@ -53,19 +53,19 @@ public class FaceDetectLog {
|
||||
return this;
|
||||
}
|
||||
|
||||
public FaceDetectLog fillResponse(SearchFaceResponse response) {
|
||||
this.matchRawResult = JSONObject.toJSONString(response.getData());
|
||||
public FaceDetectLog fillResponse(Object response) {
|
||||
this.matchRawResult = JSONObject.toJSONString(response);
|
||||
return this;
|
||||
}
|
||||
|
||||
public List<MatchLocalRecord> matchLocalRecord() {
|
||||
public List matchLocalRecord() {
|
||||
if (matchLocalRecord == null) {
|
||||
return null;
|
||||
}
|
||||
return JSONArray.parseArray(matchLocalRecord, MatchLocalRecord.class);
|
||||
}
|
||||
|
||||
public void matchLocalRecord(List<MatchLocalRecord> matchLocalRecord) {
|
||||
public void matchLocalRecord(List matchLocalRecord) {
|
||||
if (matchLocalRecord == null) {
|
||||
this.matchLocalRecord = null;
|
||||
} else {
|
||||
|
@@ -10,7 +10,6 @@ public class MatchLocalRecord {
|
||||
private String deviceName;
|
||||
private String faceUrl;
|
||||
private Float score;
|
||||
private Float confidence;
|
||||
private String idStr;
|
||||
private Date shotDate;
|
||||
private Boolean matched;
|
||||
|
@@ -3,6 +3,7 @@ package com.ycwl.basic.model.pc.scenic.entity;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.ycwl.basic.facebody.enums.FaceBodyAdapterType;
|
||||
import com.ycwl.basic.storage.enums.StorageType;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -75,4 +76,7 @@ public class ScenicConfigEntity {
|
||||
private String watermarkType;
|
||||
private String watermarkScenicText;
|
||||
private String watermarkDtFormat;
|
||||
|
||||
private FaceBodyAdapterType faceType;
|
||||
private String faceConfigJson;
|
||||
}
|
||||
|
Reference in New Issue
Block a user