SpringBoot配置文件

spring: 
  application: 
    name: jiuqian-qph
  jackson: 
    date-format: yyyy-MM-dd hh:mm:ss
# 使用jsp
  mvc:
    view:
      prefix: /WEB-INF/jsp/
      suffix: .jsp
       
server: 
  port: 8080
  #port: 80
  #contextPath: qph
  jsp-servlet: 
    init-parameters: 
      development: true
  
db: 
  driverClassName: com.mysql.jdbc.Driver
  #url: jdbc:mysql://127.0.0.1:3306/qph?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=PRC&useSSL=false
  #username: root
  #password: root
  url: jdbc:mysql://192.168.0.200:3306/qph?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=PRC&useSSL=false
  username: root
  password: 123456
  initialSize: 20
  maxActive: 40
  maxIdle: 20
  minIdle: 1
  maxWaitMillis: 60000
  timeBetweenEvictionRunsMillis: 3000
  minEvictableIdleTimeMillis: 300000
  maxPoolPreparedStatementPerConnectionSize: 20
  
druid: 
  filters: stat
  logType: log4j2


#ckeditor 目錄
ckeditor: 
  storage: 
    image: 
      path: C:\tomcat\project\img\
  access: 
    image: 
      url: /img/
#短信
sms: 
  config: 
    url: http://www.iamyun.net:8080/api/notice/sms
    Token: 5923976bc25310000712944c844be28f
    report_url: www.baidu.com
#微信
#wxpro: 
  #keyAppId: wxc8f1b681194bcf27
  #appSecret: 6efd64059c4ccfb4bd9666ca17c5b20c
  #Microtoken: zxzc2017
  #appencodingaeskey: 0giGPo67BcRbdIFo9RhnSPEEit9vXTGXsM1wjW4Yh10





發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章