application-uat.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. # 获取ip地址开关
  12. addressEnabled: false
  13. #是否开启swagger
  14. openSwagger: true
  15. #接口安全验证
  16. security:
  17. #接口过期时间
  18. apiTimeOut: 50
  19. #接口的plat和对应的AppKey 支持多个用,号分割
  20. platMap: "{steelfurniture:'cd72c223-923f-44a3-aede-b9f07dcd56b8'}"
  21. #开发模式下 可以使用swagger测试 放过验签环节
  22. isDev: true
  23. libang:
  24. getUserByTicket: http://m-eportal.nipponpaint.com.cn/BasicV2/Wechat/GetTicket
  25. # 开发环境配置
  26. server:
  27. # 服务器的HTTP端口,默认为80
  28. port: 10001
  29. servlet:
  30. # 应用的访问路径
  31. context-path: /wxportal-api
  32. tomcat:
  33. # tomcat的URI编码
  34. uri-encoding: UTF-8
  35. # tomcat最大线程数,默认为200
  36. max-threads: 800
  37. # Tomcat启动初始化的线程数,默认值25
  38. min-spare-threads: 30
  39. # 日志配置
  40. logging:
  41. level:
  42. com.dgtly: debug
  43. org.springframework: warn
  44. path: /home/admin/project/logs/
  45. # Spring配置
  46. spring:
  47. jackson:
  48. time-zone: GMT+8
  49. date-format: yyyy-MM-dd HH:mm:ss
  50. #字段为空不生效
  51. default-property-inclusion: non_null
  52. profiles:
  53. include: uat-druid
  54. # 文件上传
  55. servlet:
  56. multipart:
  57. # 单个文件大小
  58. max-file-size: 10MB
  59. # 设置总上传的文件大小
  60. max-request-size: 20MB
  61. # 服务模块
  62. devtools:
  63. restart:
  64. # 热部署开关
  65. enabled: true
  66. # redis配置
  67. # redis:
  68. # # Redis数据库索引(默认为0)
  69. # database: 0
  70. # # Redis服务器地址
  71. # host: 192.168.100.254
  72. # # Redis服务器连接端口
  73. # port: 6379
  74. # # Redis服务器连接密码(默认为空)
  75. # password:
  76. #
  77. # # 连接超时时间(毫秒)
  78. # timeout: 500ms
  79. # pool:
  80. # jedis:
  81. # # 连接池最大连接数(使用负值表示没有限制)
  82. # max-active: 8
  83. # # 连接池最大阻塞等待时间(使用负值表示没有限制)
  84. # max-wait: -1
  85. # # 连接池中的最大空闲连接
  86. # max-idle: 8
  87. # # 连接池中的最小空闲连接
  88. # min-idle: 0
  89. # MyBatis
  90. mybatis:
  91. # 搜索指定包别名
  92. typeAliasesPackage: com.dgtly.**.domain
  93. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  94. mapperLocations: classpath*:mapper/**/*Mapper.xml
  95. # 加载全局的配置文件
  96. configLocation: classpath:mybatis/mybatis-config.xml
  97. qiyeweixin:
  98. #企业微信id
  99. corpid: ww5444eb205d75e730
  100. #企业应用的凭证密钥
  101. #Cs9omiMVyz3cLm2D5T51i4bCDarHhIdl5uTaj__E-38 随身邦
  102. # hafspbfljYGiKEdAizhyt3jlxtmZfT9yXnZ5go3ykfw 随身帮正式
  103. corpsecret: PtmTMIfDf76aI3QqQ4Q8dyvPt1_6LnsqbgRxVK5L4ZY
  104. #应用id
  105. agentId: 1000083