初始化 order 子系统项目结构

This commit is contained in:
YunaiV
2019-02-23 00:41:24 +08:00
parent 398d23cc9f
commit 2523f8b616
12 changed files with 224 additions and 18 deletions

View File

@@ -1,15 +0,0 @@
# Spring boot application
spring.application.name=product-rest
# Base packages to scan Dubbo Component: @com.alibaba.dubbo.config.annotation.Service
dubbo.scan.base-packages=cn.iocoder.mall.product.service
# Dubbo Protocol
dubbo.protocol.name=dubbo
## Random port
dubbo.protocol.port=-1
## Dubbo Registry
dubbo.registry.address=zookeeper://127.0.0.1:2181
## DemoService version
demo.service.version=1.0.0

View File

@@ -1,4 +1,6 @@
spring:
application:
name: product-application
# datasource
datasource:
url: jdbc:mysql://127.0.0.1:33061/mall_product?useSSL=false
@@ -6,8 +8,25 @@ spring:
username: root
password: 123456
# server
server:
port: 8081
# mybatis
mybatis:
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
type-aliases-package: cn.iocoder.mall.product.dataobject
config-location: classpath:mybatis-config.xml
mapper-locations: classpath:mapper/*.xml
type-aliases-package: cn.iocoder.mall.product.dataobject
# dubbo
dubbo:
registry:
address: zookeeper://127.0.0.1:2181
protocol:
port: -1
name: dubbo
scan:
base-packages: cn.iocoder.mall.product.service
demo:
service:
version: 1.0.0