42 lines
942 B
YAML
42 lines
942 B
YAML
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.biz.dataobject
|
|
|
|
# dubbo
|
|
dubbo:
|
|
application:
|
|
name: order-service
|
|
registry:
|
|
address: zookeeper://127.0.0.1:2181
|
|
protocol:
|
|
port: -1
|
|
name: dubbo
|
|
scan:
|
|
base-packages: cn.iocoder.mall.order.biz.service
|
|
provider:
|
|
CartService:
|
|
version: 1.0.0
|
|
consumer:
|
|
ProductSpuService:
|
|
version: 1.0.0
|
|
PromotionActivityService:
|
|
version: 1.0.0
|
|
CouponService:
|
|
version: 1.0.0
|
|
|
|
# logging
|
|
logging:
|
|
level:
|
|
# dao 开启 debug 模式 mybatis 输入 sql
|
|
cn.iocoder.mall.order.biz.dao: debug
|