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


正在加载...
取消
保存