From 0517447d9c193691ea31c06b74ee7a1297daf873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E5=BF=B5?= <1@72wo.cn> Date: Fri, 7 Nov 2025 23:22:00 +0800 Subject: [PATCH] =?UTF-8?q?```=20fix(common/rpc):=20=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E6=8E=89=E6=9C=AC=E5=9C=B0=E8=B0=83=E8=AF=95=E7=94=A8=E7=9A=84?= =?UTF-8?q?rpc=E5=9C=B0=E5=9D=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将原本用于本地调试的rpc地址配置注释掉,避免影响正式环境的rpc连接配置。 ``` --- common/rpc/rpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rpc/rpc.go b/common/rpc/rpc.go index 2e9596be2..04cacde53 100644 --- a/common/rpc/rpc.go +++ b/common/rpc/rpc.go @@ -112,7 +112,7 @@ func StartClient(id, port uint16, callback any) *struct { } { var rpcaddr, _ = service.NewBaseSysParamService().DataByKey(context.Background(), "server_ip") - + //rpcaddr = "127.0.0.1" closer1, err := jsonrpc.NewMergeClient(context.Background(), "ws://"+rpcaddr+":"+rpcport, "", []interface{}{ &RPCClient,