|
|
server:
|
tomcat:
|
connection-timeout: 20000
|
port: 8083
|
# port: 6544
|
address: 0.0.0.0
|
servlet:
|
context-path: /
|
|
# servlet:
|
# multipart:
|
# max-file-size: 100MB
|
# max-request-size: 1000MB
|
#server:
|
|
# ssl:
|
# enabled: true
|
# #开启https
|
## keyAlias: tomcat
|
## key-alias: alias
|
# key-store-password: rvoir8jt
|
# #填写pfx-password.txt文件内的密码。
|
# key-store-type: JKS
|
# key-store: classpath:hj.iotposition.com.jks
|
|
#您需要使用实际的证书名称替换domain_name.jks。
|
# server.port = 443 #HTTPS协议默认端口号为443,需要使用其他端口时,您可以在此处自定义。
|
# server.ssl.key-store = classpath:domain_name.jks #您需要使用实际的证书名称替换domain_name.jks。
|
# server.ssl.key-store-password = ******** #填写jks-password.txt文件内的密码。
|
# server.ssl.keyStoreType = JKS #JKS格式证书密钥库类型。PFX格式的证书密钥库类型为PKCS12。
|
# protocol:
|
|
|
#upload:
|
# upload-save-path: /Users/wangxu/Works/xzhwxcx/images/ #保存路径 绝对路径
|
# upload-out-path: /resource/file/ #输出路径,代理此路径
|
|
spring:
|
servlet:
|
multipart:
|
max-request-size: 5MB
|
max-file-size: 5MB
|
web:
|
resources:
|
static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/resource/
|
|
datasource:
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
# url: jdbc:mysql://192.168.5.121:3306/hxzksm?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
|
# url: jdbc:mysql://127.0.0.1:3307/hxzksm?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
|
url: jdbc:mysql:///hxzksm?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
|
|
username: root
|
password: hxzk20151102
|
# password: 123456
|
# password: blueiot
|
jackson:
|
date-format: yyyy-MM-dd HH:mm:ss
|
time-zone: GMT+8
|
serialization:
|
write-dates-as-timestamps: false
|
mvc:
|
pathmatch:
|
matching-strategy: ant_path_matcher
|
|
mybatis-plus:
|
configuration:
|
|
map-underscore-to-camel-case: true
|
auto-mapping-behavior: full
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
mapper-locations: classpath*:mapper/*.xml
|
global-config:
|
# 逻辑删除配置
|
db-config:
|
# 删除前
|
logic-not-delete-value: 1
|
# 删除后
|
logic-delete-value: 0
|
|
#wechat:
|
# miniapp:
|
# appid: wx6840ae2e891c7e2e
|
# secret: da0fa74a11a2054020a7a7ba67a344e9
|
# token: 1234567890
|
# mchId: 1499520932
|
# mchKey: wwwxzhisoftcom20180309comxzhisof
|
# tradeType: JSAPI
|
# keyPath: classpath:/apiclient_cert.p12
|