application.yml
659 字节
# 应用服务 WEB 访问端口
spring:
datasource:
druid:
url: jdbc:mysql://115.28.25.233:6630/zhsw-bkyh?characterEncoding=UTF-8&useUnicode=true&useSSL=false
username: jk_test
password: Jk_test1211rw
driver-class-name: com.mysql.jdbc.Driver
redis:
port: 6379
host: 127.0.0.1
# host: redis
mybatis-plus:
mapper-locations: classpath*:com/it/mapper/xml/*Mapper.xml
global-config:
db-config:
#使用数据库的自增策略
id-type: auto
configuration:
# 开启日志
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
server:
port: 8888
servlet:
context-path: /skreceive