application-dev.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # 项目相关配置1
  2. ruoyi:
  3. # 名称
  4. name: dgtly_oneportal
  5. # 版本
  6. version: 4.0.0
  7. # 版权年份
  8. copyrightYear: 2019
  9. # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
  10. profile: D:/dgtly/uploadPath
  11. # 获取ip地址开关
  12. addressEnabled: true
  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. # 开发环境配置
  24. server:
  25. # 服务器的HTTP端口,默认为80
  26. port: 8888
  27. servlet:
  28. # 应用的访问路径
  29. context-path: /
  30. tomcat:
  31. # tomcat的URI编码
  32. uri-encoding: UTF-8
  33. # tomcat最大线程数,默认为200
  34. max-threads: 800
  35. # Tomcat启动初始化的线程数,默认值25
  36. min-spare-threads: 30
  37. # 日志配置
  38. logging:
  39. level:
  40. com.dgtly: debug
  41. org.springframework: warn
  42. # Spring配置
  43. spring:
  44. jackson:
  45. time-zone: GMT+8
  46. date-format: yyyy-MM-dd HH:mm:ss
  47. #字段为空不生效
  48. default-property-inclusion: non_null
  49. profiles:
  50. include: dev-druid
  51. # 文件上传
  52. servlet:
  53. multipart:
  54. # 单个文件大小
  55. max-file-size: 10MB
  56. # 设置总上传的文件大小
  57. max-request-size: 20MB
  58. # 服务模块
  59. devtools:
  60. restart:
  61. # 热部署开关
  62. enabled: true
  63. # MyBatis
  64. mybatis:
  65. # 搜索指定包别名
  66. typeAliasesPackage: com.dgtly.**.domain
  67. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  68. mapperLocations: classpath*:mapper/**/*Mapper.xml
  69. # 加载全局的配置文件
  70. configLocation: classpath:mybatis/mybatis-config.xml