- demo 项目,增加 RPC 接口

This commit is contained in:
YunaiV
2019-09-23 22:45:06 +08:00
parent 683b9a7a19
commit 580b23885d
21 changed files with 202 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
dubbo:
application:
name: demo-service
registry:
address: zookeeper://127.0.0.1:2181
protocol:
port: -1
name: dubbo
scan:
base-packages: cn.iocoder.mall.demo.rpc.service
consumer:
DemoProductRpcService:
version: 1.0.0

View File

@@ -1,3 +1,10 @@
# spring
spring:
application:
name: demo-application
profiles:
active: local
# server
server:
port: 8080