37 lines
811 B
YAML
37 lines
811 B
YAML
# 应用服务 WEB 访问端口
|
|
server:
|
|
port: 8082
|
|
|
|
spring:
|
|
rabbitmq:
|
|
host: 115.159.211.196
|
|
port: 5672
|
|
username: guest
|
|
password: guest
|
|
virtualHost: /
|
|
mvc:
|
|
pathmatch:
|
|
matching-strategy: ant_path_matcher
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://115.159.211.196:3306/zncar?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&useSSL=false
|
|
username: root
|
|
password: yl@123
|
|
application:
|
|
name: shop-server
|
|
redis:
|
|
host: 115.159.211.196
|
|
port: 6379
|
|
password: yl030509
|
|
|
|
# mybatis
|
|
mybatis:
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
mapper-locations: classpath*:mapper/*Mapper.xml
|
|
global-config:
|
|
db-config:
|
|
id-type: auto
|
|
|