application.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. server:
  2. port: 14070
  3. # 配置文件加密根密码
  4. jasypt:
  5. encryptor:
  6. password: bwXg0Guz
  7. algorithm: PBEWithMD5AndDES
  8. iv-generator-classname: org.jasypt.iv.NoIvGenerator
  9. spring:
  10. servlet:
  11. multipart:
  12. max-file-size: 100MB
  13. max-request-size: 100MB
  14. datasource:
  15. type: com.alibaba.druid.pool.DruidDataSource
  16. druid:
  17. driver-class-name: com.mysql.cj.jdbc.Driver
  18. username: ${MYSQL_USER:service}
  19. password: ${MYSQL_PWD:onAkOWDw^Tn8I5v8}
  20. url: jdbc:mysql://rm-2ze1uc3f397s1a3smzo.mysql.rds.aliyuncs.com:3306/let_file?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
  21. #url: jdbc:mysql://127.0.0.1:3366/easier_file?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
  22. stat-view-servlet:
  23. enabled: true
  24. allow: ""
  25. url-pattern: /druid/*
  26. #login-username: admin
  27. #login-password: admin
  28. filter:
  29. stat:
  30. enabled: true
  31. log-slow-sql: true
  32. slow-sql-millis: 10000
  33. merge-sql: false
  34. wall:
  35. config:
  36. multi-statement-allow: true
  37. mail:
  38. host: smtp.feishu.cn
  39. port: 465
  40. username: yaoyi_report@yaoyi.net
  41. protocol: smtps
  42. password: heY0drWAGsgGNwxX
  43. properties:
  44. mail:
  45. smtp:
  46. auth: true
  47. starttls:
  48. enable: true
  49. ssl:
  50. enable: true
  51. default-encoding: utf-8
  52. # 端点对外暴露
  53. management:
  54. endpoints:
  55. web:
  56. exposure:
  57. include: '*'
  58. endpoint:
  59. restart:
  60. enabled: true
  61. health:
  62. show-details: ALWAYS
  63. # mybatis-plus 配置
  64. mybatis-plus:
  65. tenant-enable: ture
  66. mapper-locations: classpath:/mapper/*Mapper.xml
  67. global-config:
  68. capitalMode: true
  69. banner: false
  70. db-config:
  71. id-type: auto
  72. select-strategy: not_empty
  73. insert-strategy: not_empty
  74. update-strategy: not_null
  75. logic-delete-value: "'DEL'"
  76. logic-not-delete-value: "'OK'"
  77. type-handlers-package: com.yaoyicloud.easier.common.data.handler
  78. configuration:
  79. jdbc-type-for-null: 'null'
  80. call-setters-on-nulls: true
  81. shrink-whitespaces-in-sql: true
  82. defaultEnumTypeHandler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler
  83. typeEnumsPackage: com.yaoyicloud.easier.common.domain.enums
  84. # mybatis-plus-join 配置
  85. mybatis-plus-join:
  86. # 关闭连表查询组件banner
  87. banner: false
  88. # 文件系统
  89. file:
  90. bucket-name: yyc3-1321096020
  91. local:
  92. enable: true
  93. basePath: D:/tmp
  94. oss:
  95. info: true
  96. enable: true
  97. endpoint: cos.ap-beijing.myqcloud.com
  98. region: ap-beijing
  99. access-key: AKIDRilauFg4fDfE9B6tJoNxTvHSdovqXBfw
  100. secret-key: 8LeAWksnUDsXAhN0WEoBMYaCvmcbmx5G
  101. # 使用云OSS 需要关闭
  102. path-style-access: false
  103. # Logger Config
  104. logging:
  105. level:
  106. com.yaoyicloud.easier.filerepo.mapper: debug
  107. # 租户表维护
  108. easier:
  109. office:
  110. pdf:
  111. rootPath: C:/Users/yyy/dev/yyc3/easier-be