Commit 2d9e6038 by yangjinjue

修改readme

parent c846ad32
......@@ -30,12 +30,15 @@ spring.dubbo.module.default=false
### 2. 客户端介绍
* 配置文件 `application.properties`
```spring.dubbo.application.name=consumer
spring.dubbo.registry.address=zookeeper://localhost:2181
spring.dubbo.scan=com.zhiwei.demo.client
spring.dubbo.module.default=false ```
```
spring.dubbo.application.name=consumer
spring.dubbo.registry.address=zookeeper://localhost:2181
spring.dubbo.scan=com.zhiwei.demo.client
spring.dubbo.module.default=false
```
`spring.dubbo.scan`表示要扫描的`package`目录。
* 启动入口 `com.zhiwei.demo.client.Client`
```
......
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