Browse Source

test

herolist
shenjiachi 1 week ago
parent
commit
d5fb8135fa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/utils/rpc_client.go

+ 1
- 1
app/utils/rpc_client.go View File

@@ -23,7 +23,7 @@ func GetBusinessIntClient(url, port string) pb.BusinessIntClient {
func GetBusinessExtClient(url, port string) pb.BusinessExtClient {
target := fmt.Sprintf("%s:%s", url, port)
conn, err := grpc.Dial(target, grpc.WithInsecure())
//defer conn.Close()
defer conn.Close()
if err != nil {
fmt.Println(err)
return nil


Loading…
Cancel
Save