Commit 1f6ea527 by yangjinjue

修改readme

parent 213b901f
......@@ -30,7 +30,8 @@ spring.dubbo.module.default=false
### 2. 客户端介绍
* 配置文件 `application.properties`
```$xslt
```
spring.dubbo.application.name=consumer
spring.dubbo.registry.address=zookeeper://localhost:2181
spring.dubbo.scan=com.zhiwei.demo.client
......@@ -40,7 +41,8 @@ spring.dubbo.module.default=false
`spring.dubbo.scan`表示要扫描的`package`目录。
* 启动入口 `com.zhiwei.demo.client.Client`
```$xslt
```
@SpringBootApplication
public class Client {
private static Logger logger = LoggerFactory.getLogger(Client.class);
......
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