Browse Source

新增中台

WH01243 2 years ago
parent
commit
1780f9fff2
1 changed files with 1 additions and 4 deletions
  1. 1 4
      middleground/publicservice.go

+ 1 - 4
middleground/publicservice.go

@@ -1,11 +1,8 @@
 package middleground
 
 import (
-	"context"
 	"log"
 
-	"bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/pb"
-	"bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/usercenter"
 	"github.com/zeromicro/go-zero/core/discov"
 	"github.com/zeromicro/go-zero/zrpc"
 )
@@ -17,7 +14,7 @@ type publicservice struct {
 }
 
 func newPublicservice(hosts []string, key string) *publicservice {
-	r := &userCenter{
+	r := &publicservice{
 		hosts: hosts,
 		key:   key,
 	}