application-uat.yml 5.3 KB

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