application-prod.yml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. # 项目相关配置1
  2. ruoyi:
  3. # 名称
  4. name: dgtly_oneportal
  5. # 版本
  6. version: 4.0.0
  7. # 版权年份
  8. copyrightYear: 2020
  9. # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
  10. profile: /data/project/file
  11. # 获取ip地址开关
  12. addressEnabled: false
  13. #是否开启swagger
  14. openSwagger: true
  15. cloudPath: http://127.0.0.1:8000/
  16. clearCachePath: http://suishenbang.nipponpaint.com.cn/gateway/order/order/meta-hana-sales-order/clearCache
  17. orderGetDataHook: http://suishenbang.nipponpaint.com.cn/gateway/order/order/meta-hana-sales-order/orderGetDataHook
  18. deliverGetDataHook: http://suishenbang.nipponpaint.com.cn/gateway/order/order/meta-hana-sales-order/deliverGetDataHook
  19. #接口安全验证
  20. security:
  21. #接口过期时间
  22. apiTimeOut: 50
  23. #接口的plat和对应的AppKey 支持多个用,号分割
  24. platMap: "{steelfurniture:'cd72c223-923f-44a3-aede-b9f07dcd56b8'}"
  25. #开发模式下 可以使用swagger测试 放过验签环节
  26. isDev: true
  27. libang:
  28. getUserByTicket: http://m-eportal.nipponpaint.com.cn/BasicV2/Wechat/GetTicket
  29. # 开发环境配置
  30. server:
  31. # 服务器的HTTP端口,默认为80
  32. port: 10001
  33. servlet:
  34. # 应用的访问路径
  35. context-path: /wxportal-api
  36. tomcat:
  37. # tomcat的URI编码
  38. uri-encoding: UTF-8
  39. # tomcat最大线程数,默认为200
  40. max-threads: 800
  41. # Tomcat启动初始化的线程数,默认值25
  42. min-spare-threads: 30
  43. # 日志配置
  44. logging:
  45. level:
  46. com.dgtly: debug
  47. org.springframework: warn
  48. path: /data/project/logs/
  49. # Spring配置
  50. spring:
  51. jackson:
  52. time-zone: GMT+8
  53. date-format: yyyy-MM-dd HH:mm:ss
  54. #字段为空不生效
  55. default-property-inclusion: non_null
  56. profiles:
  57. include: prod-druid
  58. # 文件上传
  59. servlet:
  60. multipart:
  61. # 单个文件大小
  62. max-file-size: 10MB
  63. # 设置总上传的文件大小
  64. max-request-size: 20MB
  65. # 服务模块
  66. devtools:
  67. restart:
  68. # 热部署开关
  69. enabled: true
  70. tms:
  71. #TMS接口地址
  72. tmsUrl: https://lb.lutms.com/wuliu/apissbzt/ssb_update_authFile.do
  73. tmsToken: EZS2020
  74. suishenbang: http://suishenbang.nipponpaint.com.cn/oneportal
  75. mail:
  76. #邮件服务器地址
  77. host: mail.dgtis.com
  78. #端口号
  79. port: 25
  80. #发送者邮箱地址
  81. username: dgtmail@dgtis.com
  82. #邮箱的授权码
  83. password: DGT.1111
  84. #默认编码格式
  85. default-encoding: UTF-8
  86. properties:
  87. mail:
  88. #启动debug调试
  89. debug: true
  90. smtp:
  91. socketFactory:
  92. #SSL连接配置
  93. class: javax.net.ssl.SSLSocketFactory
  94. # redis配置
  95. # redis:
  96. # # Redis数据库索引(默认为0)
  97. # database: 0
  98. # # Redis服务器地址
  99. # host: 192.168.100.254
  100. # # Redis服务器连接端口
  101. # port: 6379
  102. # # Redis服务器连接密码(默认为空)
  103. # password:
  104. #
  105. # # 连接超时时间(毫秒)
  106. # timeout: 500ms
  107. # pool:
  108. # jedis:
  109. # # 连接池最大连接数(使用负值表示没有限制)
  110. # max-active: 8
  111. # # 连接池最大阻塞等待时间(使用负值表示没有限制)
  112. # max-wait: -1
  113. # # 连接池中的最大空闲连接
  114. # max-idle: 8
  115. # # 连接池中的最小空闲连接
  116. # min-idle: 0
  117. # MyBatis
  118. mybatis:
  119. # 搜索指定包别名
  120. typeAliasesPackage: com.dgtly.**.domain
  121. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  122. mapperLocations: classpath*:mapper/**/*Mapper.xml
  123. # 加载全局的配置文件
  124. configLocation: classpath:mybatis/mybatis-config.xml
  125. qiyeweixin:
  126. #企业微信id
  127. corpid: ww5444eb205d75e730
  128. #企业应用的凭证密钥
  129. #Cs9omiMVyz3cLm2D5T51i4bCDarHhIdl5uTaj__E-38 随身邦
  130. corpsecret: hafspbfljYGiKEdAizhyt3jlxtmZfT9yXnZ5go3ykfw
  131. #应用id
  132. agentId: 1000079
  133. esign:
  134. # SaaS版
  135. # appId: 7438822756
  136. # appSecret: fb4f6df1dc934c06e2c84e87e8a3546f
  137. # PaaS版
  138. # appId: 7438819026 测试环境
  139. # appSecret: 01df3d5154ea1f77fa64c415fb79c52f
  140. # serviceUrl: https://smlopenapi.esign.cn
  141. # PaaS版正式
  142. appId: 5111637536
  143. appSecret: ee1321fd61ef055cbfff588085ce0cd2
  144. serviceUrl: https://openapi.esign.cn
  145. # 个人认证回调url
  146. personNotifyUrl: http://suishenbang.nipponpaint.com.cn/wxportal-api/eSign/updateUserIsAuthentication
  147. # 企业认证成功回调url
  148. organNotifyUrl: http://suishenbang.nipponpaint.com.cn/wxportal-api/eSign/updateCustomersIsAuthentication
  149. # 签署成功回调url
  150. signSuccessUrl: http://suishenbang.nipponpaint.com.cn/wxportal-api/eSign/updateOrderFile
  151. # 下载后的PDF路径
  152. fileUrl: /data/project/file/pdf