From 52e16245aae4c717478c5c95f59580a72139c0a9 Mon Sep 17 00:00:00 2001
From: 554325746@qq.com <554325746@qq.com>
Date: 星期五, 12 七月 2019 21:06:49 +0800
Subject: [PATCH] fix cache

---
 sdkcompare/sdkCompare.go |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/sdkcompare/sdkCompare.go b/sdkcompare/sdkCompare.go
index efd043e..ba6e18d 100644
--- a/sdkcompare/sdkCompare.go
+++ b/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)

--
Gitblit v1.8.0