From 95f8034c4ae22a73b12b320a9f24da64a767f1d7 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 27 五月 2020 14:38:40 +0800
Subject: [PATCH] update package

---
 auth/auth.go      |    6 +++---
 cache/redis.go    |    2 +-
 common/service.go |    2 +-
 util/util.go      |    2 +-
 common/auth.go    |    4 ++--
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/auth/auth.go b/auth/auth.go
index 37add39..4d965ff 100644
--- a/auth/auth.go
+++ b/auth/auth.go
@@ -6,9 +6,9 @@
 	"github.com/gomodule/redigo/redis"
 	"net/http"
 	"strings"
-	"video-analysis-shop/api/code"
-	"video-analysis-shop/api/util"
-	"video-analysis-shop/cache"
+	"shop-common/code"
+	"shop-common/util"
+	"shop-common/cache"
 )
 
 const (
diff --git a/cache/redis.go b/cache/redis.go
index 66e8ff0..282fd0f 100644
--- a/cache/redis.go
+++ b/cache/redis.go
@@ -3,7 +3,7 @@
 import (
 	"fmt"
 	redigo "github.com/gomodule/redigo/redis"
-	"video-analysis-shop/config"
+	"shop-common/config"
 )
 
 var pool *redigo.Pool
diff --git a/common/auth.go b/common/auth.go
index a86c620..fc820bd 100644
--- a/common/auth.go
+++ b/common/auth.go
@@ -5,8 +5,8 @@
 	"github.com/gin-gonic/gin"
 	"github.com/micro/go-micro/metadata"
 	"github.com/micro/go-micro/server"
-	"video-analysis-shop/config"
-	"video-analysis-shop/proto/user"
+	"shop-common/config"
+	"shop-common/proto/user"
 )
 
 var (
diff --git a/common/service.go b/common/service.go
index b6842b2..a69cbf8 100644
--- a/common/service.go
+++ b/common/service.go
@@ -20,7 +20,7 @@
 	"github.com/micro/cli"
 	"log"
 	"time"
-	"video-analysis-shop/config"
+	"shop-common/config"
 
 	//gh "github.com/afex/hystrix-go/hystrix"
 	"github.com/micro/go-micro"
diff --git a/util/util.go b/util/util.go
index 66a0ee0..1c7ee73 100644
--- a/util/util.go
+++ b/util/util.go
@@ -8,7 +8,7 @@
 	"strconv"
 	"strings"
 	"time"
-	"video-analysis-shop/api/code"
+	"shop-common/code"
 )
 
 func ResponseFormat(c *gin.Context, respStatus *code.Code, data interface{}) {

--
Gitblit v1.8.0