jeecg.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. server:
  2. tomcat:
  3. max-swallow-size: -1
  4. error:
  5. include-exception: true
  6. include-stacktrace: ALWAYS
  7. include-message: ALWAYS
  8. compression:
  9. enabled: true
  10. min-response-size: 1024
  11. mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
  12. management:
  13. health:
  14. mail:
  15. enabled: false
  16. endpoints:
  17. web:
  18. exposure:
  19. include: "*" #暴露所有节点
  20. health:
  21. sensitive: true #关闭过滤敏感信息
  22. endpoint:
  23. health:
  24. show-details: ALWAYS #显示详细信息
  25. spring:
  26. servlet:
  27. multipart:
  28. max-file-size: 10MB
  29. max-request-size: 10MB
  30. mail:
  31. host: smtp.163.com
  32. username: jeecgos@163.com
  33. password: ??
  34. properties:
  35. mail:
  36. smtp:
  37. auth: true
  38. starttls:
  39. enable: true
  40. required: true
  41. ## quartz定时任务,采用数据库方式
  42. quartz:
  43. job-store-type: jdbc
  44. initialize-schema: embedded
  45. #设置自动启动,默认为 true
  46. auto-startup: true
  47. #启动时更新己存在的Job
  48. overwrite-existing-jobs: true
  49. properties:
  50. org:
  51. quartz:
  52. scheduler:
  53. instanceName: MyScheduler
  54. instanceId: AUTO
  55. jobStore:
  56. class: org.quartz.impl.jdbcjobstore.JobStoreTX
  57. driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  58. tablePrefix: QRTZ_
  59. isClustered: true
  60. misfireThreshold: 60000
  61. clusterCheckinInterval: 10000
  62. threadPool:
  63. class: org.quartz.simpl.SimpleThreadPool
  64. threadCount: 10
  65. threadPriority: 5
  66. threadsInheritContextClassLoaderOfInitializingThread: true
  67. #json 时间戳统一转换
  68. jackson:
  69. date-format: yyyy-MM-dd HH:mm:ss
  70. time-zone: GMT+8
  71. aop:
  72. proxy-target-class: true
  73. activiti:
  74. check-process-definitions: false
  75. #启用作业执行器
  76. async-executor-activate: false
  77. #启用异步执行器
  78. job-executor-activate: false
  79. jpa:
  80. open-in-view: false
  81. #配置freemarker
  82. freemarker:
  83. # 设置模板后缀名
  84. suffix: .ftl
  85. # 设置文档类型
  86. content-type: text/html
  87. # 设置页面编码格式
  88. charset: UTF-8
  89. # 设置页面缓存
  90. cache: false
  91. prefer-file-system-access: false
  92. # 设置ftl文件路径
  93. template-loader-path:
  94. - classpath:/templates
  95. # 设置静态文件路径,js,css等
  96. mvc:
  97. static-path-pattern: /**
  98. resource:
  99. static-locations: classpath:/static/,classpath:/public/
  100. autoconfigure:
  101. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  102. #mybatis plus 设置
  103. mybatis-plus:
  104. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
  105. global-config:
  106. # 关闭MP3.0自带的banner
  107. banner: false
  108. db-config:
  109. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  110. id-type: ASSIGN_ID
  111. # 默认数据库表下划线命名
  112. table-underline: true
  113. configuration:
  114. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  115. #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  116. # 返回类型为Map,显示null对应的字段
  117. call-setters-on-nulls: true