dengbiao 1 周之前
父節點
當前提交
ad9784b33f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      app/utils/rpc_client.go

+ 1
- 1
app/utils/rpc_client.go 查看文件

@@ -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…
取消
儲存