application-dev.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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: D:/home
  11. # 获取ip地址开关
  12. addressEnabled: true
  13. #是否开启swagger
  14. openSwagger: true
  15. cloudPath: http://10.32.2.212:8000/
  16. clearCachePath: http://suishenbangtest.nipponpaint.com.cn/order/meta-hana-sales-order/clearCache
  17. orderGetDataHook: http://ss.libang.dgtis.com/order/meta-hana-sales-order/orderGetDataHook
  18. deliverGetDataHook: http://ss.libang.dgtis.com/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: 8888
  33. servlet:
  34. # 应用的访问路径
  35. context-path: /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: D:/home/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: dev-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. # redis配置
  71. redis:
  72. # Redis数据库索引(默认为0)
  73. database: 0
  74. # Redis服务器地址
  75. host: 192.168.100.254
  76. # Redis服务器连接端口
  77. port: 6379
  78. # Redis服务器连接密码(默认为空)
  79. password:
  80. # 连接超时时间(毫秒)
  81. timeout: 500ms
  82. pool:
  83. jedis:
  84. # 连接池最大连接数(使用负值表示没有限制)
  85. max-active: 8
  86. # 连接池最大阻塞等待时间(使用负值表示没有限制)
  87. max-wait: -1
  88. # 连接池中的最大空闲连接
  89. max-idle: 8
  90. # 连接池中的最小空闲连接
  91. min-idle: 0
  92. # MyBatis
  93. mybatis:
  94. # 搜索指定包别名
  95. typeAliasesPackage: com.dgtly.**.domain
  96. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  97. mapperLocations: classpath*:mapper/**/*Mapper.xml
  98. # 加载全局的配置文件
  99. configLocation: classpath:mybatis/mybatis-config.xml
  100. qiyeweixin:
  101. #企业微信id
  102. corpid: wx5fd543ad17678381
  103. #企业应用的凭证密钥
  104. #Cs9omiMVyz3cLm2D5T51i4bCDarHhIdl5uTaj__E-38 随身邦
  105. corpsecret: Cs9omiMVyz3cLm2D5T51i4bCDarHhIdl5uTaj__E-38
  106. #应用id
  107. agentId: 1000038
  108. esign:
  109. # SaaS版
  110. # appId: 7438822756
  111. # appSecret: fb4f6df1dc934c06e2c84e87e8a3546f
  112. # PaaS版测试
  113. appId: 7438823605
  114. appSecret: f3dd308ab7e9e1d307ffeddddc3d5b53
  115. serviceUrl: https://smlopenapi.esign.cn
  116. # PaaS版正式
  117. # appId: 5111637536
  118. # appSecret: ee1321fd61ef055cbfff588085ce0cd2
  119. # serviceUrl: https://openapi.esign.cn
  120. # 个人认证回调url
  121. personNotifyUrl: http://fanfanweb.iask.in/api/eSign/updateUserIsAuthentication
  122. # 企业认证成功回调url
  123. organNotifyUrl: http://fanfanweb.iask.in/api/eSign/updateCustomersIsAuthentication
  124. # 签署成功回调url
  125. signSuccessUrl: http://fanfanweb.iask.in/api/eSign/updateOrderFile
  126. # 下载后的PDF路径
  127. fileUrl: D:/szsm/uploadPath/