application-dev.yaml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. server:
  2. port: 8080
  3. spring:
  4. # servlet:
  5. # multipart:
  6. # enabled: true
  7. # max-file-size: 10MB
  8. # max-request-size: 30MB
  9. aop:
  10. proxy-target-class: true
  11. auto: true
  12. jpa:
  13. database: mysql
  14. hibernate:
  15. ddl-auto: update
  16. show-sql: false
  17. # 延续 session 到返回视图层,但是在测试类中无效
  18. open-in-view: true
  19. database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  20. properties:
  21. hibernate:
  22. format_sql: true
  23. generate_statistics: true
  24. jdbc:
  25. #每批500条提交
  26. batch_size: 500
  27. batch_versioned_data: true
  28. order_inserts: true
  29. order_updates: true
  30. jackson:
  31. time-zone: GMT+8
  32. date-format: yyyy-MM-dd HH:mm:ss
  33. redis:
  34. # port: 6379
  35. # database: 0
  36. # host: 127.0.0.1
  37. # password: 12345
  38. jedis:
  39. pool:
  40. max-active: 8
  41. max-wait: -1ms
  42. max-idle: 8
  43. min-idle: 0
  44. timeout: 5000ms
  45. # port: ${REDIS_PORT}
  46. # host: ${REDIS_HOME}
  47. data:
  48. redis:
  49. repositories:
  50. enabled: false
  51. datasource:
  52. # url: jdbc:mysql://${MYSQL_URL}/${MYSQL_DATABASE}?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=Asia/Shanghai
  53. # username: ${MYSQL_USERNAME}
  54. # password: ${MYSQL_PASSWORD}
  55. # driver-class-name: com.mysql.cj.jdbc.Driver
  56. driver-class-name: com.mysql.cj.jdbc.Driver
  57. url: jdbc:mysql://localhost:3306/loan_system?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai #改
  58. username: root
  59. password: xjj010430 #改
  60. mybatis:
  61. mapper-locations: classpath*:/mapping/*Mapper.xml
  62. # type-aliases-package: com.he.common.entity.domain
  63. upload:
  64. host: "http://tczbus.natappfree.cc/uploads"
  65. location: "C:\\Users\\Xu\\Documents\\loan_project" #改
  66. extensions: "pdf,doc,docx,xlsx,JPG,jpg,bmp,BMP,gif,GIF,BMP,png,PNG,bmp,jpeg,JPEG,svg,txt"
  67. #改
  68. wechat:
  69. appid: wx9c0acf979455549f
  70. secret: 37452088548ea9cc6e244dc7817d938d