2019-03-16 15:22:24 +08:00
|
|
|
spring:
|
|
|
|
# datasource
|
|
|
|
datasource:
|
|
|
|
url: jdbc:mysql://180.167.213.26:13306/mall_order?useSSL=false&useUnicode=true&characterEncoding=UTF-8
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
|
username: root
|
|
|
|
password: ${MALL_MYSQL_PASSWORD}
|
|
|
|
|
|
|
|
# mybatis
|
|
|
|
mybatis:
|
|
|
|
config-location: classpath:mybatis-config.xml
|
|
|
|
mapper-locations: classpath:mapper/*.xml
|
|
|
|
type-aliases-package: cn.iocoder.mall.order.dataobject
|
|
|
|
|
|
|
|
# dubbo
|
|
|
|
dubbo:
|
|
|
|
application:
|
|
|
|
name: order-service
|
|
|
|
registry:
|
|
|
|
address: zookeeper://127.0.0.1:2181
|
|
|
|
protocol:
|
|
|
|
port: -1
|
|
|
|
name: dubbo
|
|
|
|
scan:
|
2019-03-17 21:08:14 +08:00
|
|
|
base-packages: cn.iocoder.mall.order.service
|
|
|
|
|
|
|
|
# logging
|
|
|
|
logging:
|
|
|
|
level:
|
|
|
|
cn.iocoder.mall.order.dao: debug
|