sdkcompare/sdkCompare.go
@@ -4,7 +4,7 @@ "basic.com/valib/gosdk.git" "encoding/base64" "encoding/json" "facecompare/cache" "basic.com/pubsub/cache.git" "fmt" ) @@ -30,6 +30,7 @@ } else { for _, tid := range tableid { shardins, ok := cache.Cmap.Cam[tid] fmt.Println(ok) if !ok { fmt.Println("get shad error by id", shardins) continue @@ -44,6 +45,8 @@ } } fmt.Println(totalmap) buf, err := json.Marshal(totalmap) if err != nil { fmt.Println("map to json error!", err)