From 34e099924218eefe7d644078db2b38fdc0773f3f Mon Sep 17 00:00:00 2001 From: "382673304@qq.com" <382673304@qq.com> Date: Tue, 24 Nov 2020 17:27:21 +0800 Subject: [PATCH] chore --- tools/cli/example/README.md | 4 ++-- tools/cli/example/README_CN.md | 4 ++-- tools/cli/example/server/config/server.yml | 2 +- tools/cli/example/test.sh | 2 +- tools/cli/test.sh | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/cli/example/README.md b/tools/cli/example/README.md index 3f66619bf..bfc37e8f5 100644 --- a/tools/cli/example/README.md +++ b/tools/cli/example/README.md @@ -99,7 +99,7 @@ example int userCall.json: ``` ### 3. Exec cli to send req. -`./dubbo-go-cli -h=localhost -p=20000 -proto=dubbo -i=com.ikurento.user.UserProvider -method=GetUser -sendObj="./userCall.json" -recvObj="./user.json"` +`./dubbo-go-cli -h=localhost -p=20001 -proto=dubbo -i=com.ikurento.user.UserProvider -method=GetUser -sendObj="./userCall.json" -recvObj="./user.json"` cli-end output锛� ```log @@ -115,7 +115,7 @@ cli-end output锛� 2020/10/26 20:47:45 &{SubID: SubMale:false SubAge:0 JavaClassName:com.ikurento.user.SubInfo} -2020/10/26 20:47:45 connected to localhost:20000! +2020/10/26 20:47:45 connected to localhost:20001! 2020/10/26 20:47:45 try calling interface:com.ikurento.user.UserProvider.GetUser 2020/10/26 20:47:45 with protocol:dubbo diff --git a/tools/cli/example/README_CN.md b/tools/cli/example/README_CN.md index 6ca621e75..fd2135b5a 100644 --- a/tools/cli/example/README_CN.md +++ b/tools/cli/example/README_CN.md @@ -96,7 +96,7 @@ user.json 鍚岀悊锛屼綔涓鸿繑鍥炲€间笉闇€瑕佽祴鍒濆鍊硷紝浣咼avaClassName瀛楁 ``` ### 3. 鎵ц璇锋眰 -`./dubbo-go-cli -h=localhost -p=20000 -proto=dubbo -i=com.ikurento.user.UserProvider -method=GetUser -sendObj="./userCall.json" -recvObj="./user.json"` +`./dubbo-go-cli -h=localhost -p=20001 -proto=dubbo -i=com.ikurento.user.UserProvider -method=GetUser -sendObj="./userCall.json" -recvObj="./user.json"` cli绔墦鍗扮粨鏋滐細 ```log @@ -112,7 +112,7 @@ cli绔墦鍗扮粨鏋滐細 2020/10/26 20:47:45 &{SubID: SubMale:false SubAge:0 JavaClassName:com.ikurento.user.SubInfo} -2020/10/26 20:47:45 connected to localhost:20000! +2020/10/26 20:47:45 connected to localhost:20001! 2020/10/26 20:47:45 try calling interface:com.ikurento.user.UserProvider.GetUser 2020/10/26 20:47:45 with protocol:dubbo diff --git a/tools/cli/example/server/config/server.yml b/tools/cli/example/server/config/server.yml index 4705b69df..425eb1ca0 100644 --- a/tools/cli/example/server/config/server.yml +++ b/tools/cli/example/server/config/server.yml @@ -35,7 +35,7 @@ services: protocols: "dubbo": name: "dubbo" - port: 20000 + port: 20001 protocol_conf: diff --git a/tools/cli/example/test.sh b/tools/cli/example/test.sh index 47b1e3c05..9a038a959 100644 --- a/tools/cli/example/test.sh +++ b/tools/cli/example/test.sh @@ -1 +1 @@ -./dubbo-go-cli -h=localhost -p=20000 -proto=dubbo -i=com.ikurento.user.UserProvider -method=GetUser -sendObj="./userCall.json" -recvObj="./user.json" \ No newline at end of file +./dubbo-go-cli -h=localhost -p=20001 -proto=dubbo -i=com.ikurento.user.UserProvider -method=GetUser -sendObj="./userCall.json" -recvObj="./user.json" \ No newline at end of file diff --git a/tools/cli/test.sh b/tools/cli/test.sh index 75f2eb833..fa11833b5 100644 --- a/tools/cli/test.sh +++ b/tools/cli/test.sh @@ -1 +1 @@ -go run . -h=localhost -p=20000 -proto=dubbo -i=com.ikurento.user.UserProvider -method=GetUser -sendObj="./userCall.json" -recvObj="./user.json" \ No newline at end of file +go run . -h=localhost -p=20001 -proto=dubbo -i=com.ikurento.user.UserProvider -method=GetUser -sendObj="./userCall.json" -recvObj="./user.json" \ No newline at end of file -- GitLab