|
@ -22,7 +22,7 @@ func rpc_server_conn(url ...string) (*OrderServiceClient, error) { |
|
|
} else if conf.YYT_RPC_URL != "" { |
|
|
} else if conf.YYT_RPC_URL != "" { |
|
|
rpc_url = conf.YYT_RPC_URL |
|
|
rpc_url = conf.YYT_RPC_URL |
|
|
} else { |
|
|
} else { |
|
|
rpc_url = "127.0.0.1:" + conf.YYT_RPC_URL |
|
|
|
|
|
|
|
|
rpc_url = "127.0.0.1:" + conf.YYT_RPC_PORT |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
conn, _, err := DialOrderService("tcp", rpc_url) |
|
|
conn, _, err := DialOrderService("tcp", rpc_url) |
|
|