controllers/fileController.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
controllers/fileController.go
@@ -215,9 +215,10 @@ FaceFeature: face.FaceBytes, CompareThreshold: searchBody.Threshold, } if searchBody.DataBases !=nil { for idx,tableId :=range searchBody.DataBases { if tableId == captureTable{ if tableId == "esData" { searchBody.DataBases = append(searchBody.DataBases[:idx], searchBody.DataBases[idx+1:]...) searchBody.DataBases = append(searchBody.DataBases,captureTable) break