32 lines
619 B
YAML
32 lines
619 B
YAML
|
spring:
|
||
|
# datasource
|
||
|
datasource:
|
||
|
url: jdbc:mysql://127.0.0.1:33061/mall_user?useSSL=false
|
||
|
driver-class-name: com.mysql.jdbc.Driver
|
||
|
username: root
|
||
|
password: 123456
|
||
|
|
||
|
# server
|
||
|
server:
|
||
|
port: 8082
|
||
|
|
||
|
# mybatis
|
||
|
mybatis:
|
||
|
config-location: classpath:mybatis-config.xml
|
||
|
mapper-locations: classpath:mapper/*.xml
|
||
|
type-aliases-package: cn.iocoder.mall.user.dataobject
|
||
|
|
||
|
# dubbo
|
||
|
dubbo:
|
||
|
application:
|
||
|
name: user-service
|
||
|
registry:
|
||
|
address: zookeeper://127.0.0.1:2181
|
||
|
protocol:
|
||
|
port: -1
|
||
|
name: dubbo
|
||
|
scan:
|
||
|
base-packages: cn.iocoder.mall.user.service
|
||
|
demo:
|
||
|
service:
|
||
|
version: 1.0.0
|