db/person.go
@@ -2,7 +2,7 @@ import ( "encoding/base64" "sdkCompare/compare" "sdkCompare/util" "strconv" ) @@ -66,7 +66,7 @@ Id: p.Id, TableId: p.TableId, AreaId: p.AreaID, FaceFeature: compare.ByteSlice2float32Slice(byteFeat), FaceFeature: util.ByteSlice2float32Slice(byteFeat), Enable: int32(p.Enable), }) } @@ -91,7 +91,7 @@ Id: p.Id, TableId: p.TableId, AreaId: p.AreaID, FaceFeature: compare.ByteSlice2float32Slice(byteFeat), FaceFeature: util.ByteSlice2float32Slice(byteFeat), Enable: int32(p.Enable), } }