application-uat.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. # 项目相关配置
  2. ruoyi:
  3. # 名称
  4. name: suishenbang-oneportal
  5. # 版本
  6. version: 4.0.0
  7. # 版权年份
  8. copyrightYear: 2020
  9. # 实例演示开关
  10. demoEnabled: true
  11. # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
  12. profile: /home/admin/project/file
  13. # 获取ip地址开关
  14. addressEnabled: false
  15. cloudPath: http://127.0.0.1:8000
  16. #经销商微信接口相关配置
  17. customer:
  18. appid: ap8abb6c43d59b26fc
  19. appsecret: 379ebe6db52a9aa30d5789507aeccddb
  20. #正式域名 https://ac.nipponpaint.com.cn
  21. domain: https://ac.nipponpaint.com.cn
  22. # 开发环境配置
  23. server:
  24. # 服务器的HTTP端口,默认为80
  25. port: 10000
  26. servlet:
  27. # 应用的访问路径
  28. context-path: /oneportal
  29. tomcat:
  30. # tomcat的URI编码
  31. uri-encoding: UTF-8
  32. # tomcat最大线程数,默认为200
  33. max-threads: 800
  34. # Tomcat启动初始化的线程数,默认值25
  35. min-spare-threads: 30
  36. # 日志配置
  37. logging:
  38. level:
  39. com.dgtly: debug
  40. org.springframework: warn
  41. path: /home/admin/project/logs/
  42. # 用户配置
  43. user:
  44. password:
  45. # 密码错误{maxRetryCount}次锁定10分钟
  46. maxRetryCount: 5
  47. # Spring配置
  48. spring:
  49. # 模板引擎
  50. thymeleaf:
  51. mode: HTML
  52. encoding: utf-8
  53. # 禁用缓存
  54. cache: false
  55. # 资源信息
  56. messages:
  57. # 国际化资源文件路径
  58. basename: static/i18n/messages
  59. jackson:
  60. time-zone: GMT+8
  61. date-format: yyyy-MM-dd HH:mm:ss
  62. profiles:
  63. include: uat-druid
  64. # 文件上传
  65. servlet:
  66. multipart:
  67. # 单个文件大小
  68. max-file-size: 10MB
  69. # 设置总上传的文件大小
  70. max-request-size: 20MB
  71. # 服务模块
  72. devtools:
  73. restart:
  74. # 热部署开关
  75. enabled: true
  76. # MyBatis
  77. mybatis:
  78. # 搜索指定包别名
  79. typeAliasesPackage: com.dgtly.**.domain
  80. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  81. mapperLocations: classpath*:mapper/**/*Mapper.xml
  82. # 加载全局的配置文件
  83. configLocation: classpath:mybatis/mybatis-config.xml
  84. # PageHelper分页插件
  85. pagehelper:
  86. helperDialect: mysql
  87. reasonable: true
  88. supportMethodsArguments: true
  89. params: count=countSql
  90. # Shiro
  91. shiro:
  92. user:
  93. # 登录地址
  94. loginUrl: /login
  95. # 权限认证失败地址
  96. unauthorizedUrl: /unauth
  97. # 首页地址
  98. indexUrl: /index
  99. # 验证码开关
  100. captchaEnabled: true
  101. # 验证码类型 math 数组计算 char 字符
  102. captchaType: math
  103. cookie:
  104. # 设置Cookie的域名 默认空,即当前访问的域名
  105. domain:
  106. # 设置cookie的有效访问路径
  107. path: /
  108. # 设置HttpOnly属性
  109. httpOnly: true
  110. # 设置Cookie的过期时间,天为单位
  111. maxAge: 30
  112. session:
  113. # Session超时时间,-1代表永不过期(默认30分钟)
  114. expireTime: 30
  115. # 同步session到数据库的周期(默认1分钟)
  116. dbSyncPeriod: 1
  117. # 相隔多久检查一次session的有效性,默认就是10分钟
  118. validationInterval: 10
  119. # 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制)
  120. maxSession: -1
  121. # 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户
  122. kickoutAfter: false
  123. # 防止XSS攻击
  124. xss:
  125. # 过滤开关
  126. enabled: true
  127. # 排除链接(多个用逗号分隔)
  128. excludes: /system/notice/*,/system/config/*
  129. # 匹配链接
  130. urlPatterns: /system/*,/monitor/*,/tool/*