Commit 588e5aaf by yangjinjue

修改readme

parent 1f6ea527
...@@ -30,12 +30,10 @@ spring.dubbo.module.default=false ...@@ -30,12 +30,10 @@ spring.dubbo.module.default=false
### 2. 客户端介绍 ### 2. 客户端介绍
* 配置文件 `application.properties` * 配置文件 `application.properties`
``` ```spring.dubbo.application.name=consumer
spring.dubbo.registry.address=zookeeper://localhost:2181
spring.dubbo.application.name=consumer spring.dubbo.scan=com.zhiwei.demo.client
spring.dubbo.registry.address=zookeeper://localhost:2181 spring.dubbo.module.default=false
spring.dubbo.scan=com.zhiwei.demo.client
spring.dubbo.module.default=false
``` ```
`spring.dubbo.scan`表示要扫描的`package`目录。 `spring.dubbo.scan`表示要扫描的`package`目录。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment