Files
micro-fast/pa/src/main/resources/application-dev.yml
T
2017-10-12 22:13:16 +08:00

43 lines
1.0 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
spring:
application:
name: pa
http:
multipart:
max-file-size: 10MB
max-request-size: 20MB
enabled: true
mvc:
view:
suffix: .html
freemarker:
check-template-location: true
template-loader-path: classpath:/templates
content-type: text/html
cache: false
suffix: .html
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
server:
port: 8080
tomcat:
uri-encoding: utf-8
# --------------------------
# 自定义的配置参数
# --------------------------
#数据库连接配置类,这些参数是必须传入的
jdbc:
master:
username: root
password: hfAhyoTu3UKAfmy27/RNKQ==
url: jdbc:mysql://127.0.0.1:3306/micro?useUncoide=true&chracterEncoding=utf-8&useSSL=true
driverClass: com.mysql.jdbc.Driver
mybatis:
typeAliasesPackage: com.micro.fast.pa.pojo
mappers: classpath:/mappers/*.xml
pageHelperProperties:
- dialect:mysql
# --------------------------
# /自定义的配置参数
# --------------------------