application.yml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. server:
  2. port: 10010
  3. tomcat:
  4. uri-encoding: utf-8
  5. max-http-form-post-size: -1
  6. connection-timeout: 18000000s
  7. spring:
  8. servlet:
  9. multipart:
  10. # 配置上传文件的大小设置
  11. # Single file max size 即单个文件大小
  12. max-file-size: 100MB
  13. max-request-size: 100MB
  14. location: C:/upload/
  15. datasource:
  16. driver-class-name: com.mysql.cj.jdbc.Driver
  17. url: jdbc:mysql://47.101.180.183:17089/man_hour_manager?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&useSSL=false
  18. username: root
  19. password: P011430@Huoshi*
  20. hikari:
  21. maximum-pool-size: 60
  22. minimum-idle: 10
  23. max-lifetime: 180000
  24. # 数据库连接超时时间,默认30秒,即30000
  25. connection-timeout: 60000
  26. connection-test-query: SELECT 1
  27. #######redis配置######
  28. # redis
  29. redis:
  30. host: 127.0.0.1
  31. port: 6379
  32. timeout: 3
  33. # password:
  34. pool:
  35. minIdle: 1
  36. maxIdle: 10
  37. maxWait: 3
  38. maxActive: 8
  39. ####全局配置时间返回格式#####
  40. jackson:
  41. #参数意义:
  42. #JsonInclude.Include.ALWAYS 默认
  43. #JsonInclude.Include.NON_DEFAULT 属性为默认值不序列化
  44. #JsonInclude.Include.NON_EMPTY 属性为 空(””) 或者为 NULL 都不序列化
  45. #JsonInclude.Include.NON_NULL 属性为NULL 不序列化
  46. default-property-inclusion: ALWAYS
  47. time-zone: GMT+8
  48. date-format: yyyy-MM-dd HH:mm:ss
  49. messages:
  50. basename: i18n.messages #配置国际化资源文件路径
  51. encoding: UTF-8
  52. ##AD认证
  53. ldap:
  54. ##AD服务器IP,默认端口389
  55. urls: ldap://192.168.2.44:389
  56. ##登录账号
  57. username: zhangsan@yurk.cn
  58. ##密码
  59. password: Zs123456
  60. #distinguishedName的部分节点
  61. base:
  62. dcFirst: yurk
  63. dcSecond: cn
  64. ##########日志配置
  65. logging:
  66. level:
  67. root: info
  68. org.mybatis: debug
  69. java.sql: debug
  70. org.springframework.web: trace
  71. #打印sql语句
  72. com.management.platform.mapper: debug
  73. path: C:/
  74. ##########
  75. mybatis-plus:
  76. # mapper-locations: classpath:mapper/*/*.xml
  77. # #实体扫描,多个package用逗号或者分号分隔
  78. # typeAliasesPackage: com.hssx.cloudmodel
  79. global-config:
  80. #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
  81. id-type: 0
  82. #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
  83. field-strategy: 2
  84. db-column-underline: true
  85. refresh-mapper:
  86. #################插入和更新非null判断
  87. db-config:
  88. insert-strategy: not_null
  89. update-strategy: not_null
  90. configuration:
  91. map-underscore-to-camel-case: true
  92. cache-enabled: false
  93. ######mybstis配置#######
  94. mybatis:
  95. type-aliases-package: com.management.platform.entity
  96. mapper-locations: mappers/*Mapper.xml
  97. #####配置图片上传路径####
  98. upload:
  99. path: C:/upload/
  100. picrecongnize:
  101. browser: C:/picrecongnize/browser/
  102. develop: C:/picrecongnize/develop/
  103. im: C:/picrecongnize/im/
  104. design: C:/picrecongnize/design/
  105. # 智能工时管家公众号参数
  106. wx:
  107. template_report_fill: lhwkaW9BKwCvMtCuoAxLw4lZoGgMaucL0Ap0Vz-5KOY
  108. app_id: wx749c84daac654e1e
  109. app_secret: aacbd046ec1c790836f4f684c96fe585
  110. template_report_pass: dbMuR2v7lxXLwRaorIWQ4T6ilvn0vzqmDDkD_3ZsaXc
  111. template_project_deadline: kY2Qzec64uOANNXA0yn-PV09ZnNjCeGXwWjTaVmQiLU
  112. template_report_reject: TICiRkvCpF4NCbkPOjefXTpz7jXgpt0SZGkNjCMIt3M
  113. template_report_week: lhwkaW9BKwCvMtCuoAxLw4lZoGgMaucL0Ap0Vz-5KOY
  114. #钉钉参数配置
  115. dingding:
  116. appId: 71020
  117. ##actuator健康检查配置
  118. management:
  119. security:
  120. enabled:false:
  121. server:
  122. port: 10012
  123. # endpoints:
  124. # web:
  125. # exposure:
  126. # include: "*"
  127. health:
  128. redis:
  129. enabled: false
  130. ldap:
  131. enabled: false
  132. referer:
  133. refererDomain:
  134. - localhost
  135. - ttkuaiban.com
  136. - www.ttkuaiban.com
  137. - mobworktime.ttkuaiban.com
  138. - worktime.ttkuaiban.com
  139. - app71020.eapps.dingtalkcloud.com
  140. - mldmobworktime.ttkuaiban.com
  141. - mldworktime.ttkuaiban.com
  142. - 47.101.180.183
  143. excludeUrls: /wxcorp/*,/wxcorp/*/*,/dingding/*,/feishu-info/*,/error,/testClient,/corpWXAuth,/corpWXScanningAuth,/corpInsideWXAuth,/wx-corp-info/*,/clean/*,/innerRoles/*,/project/getProjectListByToken,/project/getTimeCostByToken,/report/getReportListByToken,/report/getProcessErrorData,/project/synchronizationProject,/user/updateUserDeptHierarchy,/report/getUserTimeCostByThird,/report/getProjectTimeCostByThird
  144. #企业微信相关参数
  145. suitId: ww4e237fd6abb635af
  146. suitSecret: 1ApL6LIB4Z0v7wBrKTUNmJrerRWV3gEQWBlYOm8Kijw
  147. #平台作为服务商的参数
  148. corpId: wwf11426cf618e1703
  149. token: Mhi7ehNX61UN4MB7PHnC
  150. encodingAesKey: PHVMkME1XMrImmGJZ4OZJxSysI7hFEhtDDUQrlHAfIS
  151. providerSecret: wlwGIUXskWKsNtCfKUsAfJ6ueba55rZnqZvcC-rUM6nQ-LnRDyYgISQ2BO-UlL_A
  152. configEnv:
  153. isDev: true
  154. # 是否是私有化部署,企业内部应用
  155. isPrivateDeploy: false
  156. privateDeployURL:
  157. pcUrl: http://dev.huoshishanxin.com/#/
  158. mobUrl: http://dev.huoshishanxin.com/#/
  159. # SFTP上传配置
  160. sftp:
  161. isEnabled: false
  162. server: 101.132.166.205
  163. port: 22022
  164. remoteDir: /bkup/timesheet
  165. user: root
  166. password: Huoshi@2022