From db9a2f4e2337e97afc1da6dbc397dcd05b0e096b Mon Sep 17 00:00:00 2001 From: tanghc Date: Wed, 17 Mar 2021 14:50:36 +0800 Subject: [PATCH] 4.3.0 --- doc/docs/files/10011_项目接入到SOP.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/docs/files/10011_项目接入到SOP.md b/doc/docs/files/10011_项目接入到SOP.md index 84f12f73..e1138abc 100644 --- a/doc/docs/files/10011_项目接入到SOP.md +++ b/doc/docs/files/10011_项目接入到SOP.md @@ -93,6 +93,8 @@ public class OpenServiceConfig extends AlipayServiceConfiguration { php应用提供的接口需要返回如下json内容: +假设请求的接口为:`http://open.xxx.com/get_routes` + ```json { "serviceId": "goods-service", @@ -157,7 +159,7 @@ instance.setServiceName("goods-service"); instance.setIp("192.168.0.11"); instance.setPort(8080); // 在nacos的metadata中指定接口路径 -instance.getMetadata().put("sop.routes.path", "/goods/list_goods"); +instance.getMetadata().put("sop.routes.path", "http://open.xxx.com/get_routes"); namingService.registerInstance(serviceId, instance); ```