application-test.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. server:
  2. port: 8848
  3. #UPLOAD FILE 上传文件
  4. upload:
  5. #文件存储磁盘
  6. disk: D://sopFile/
  7. datasource:
  8. master:
  9. type: com.alibaba.druid.pool.DruidDataSource
  10. url: jdbc:mysql://localhost:3306/test?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
  11. username: root
  12. password: root
  13. driver-class-name: com.mysql.cj.jdbc.Driver
  14. initialSize: 5
  15. minIdle: 5
  16. maxActive: 20
  17. maxWait: 60000
  18. timeBetweenEvictionRunsMillis: 60000
  19. validationQuery: SELECT 1
  20. testWhileIdle: true
  21. testOnBorrow: false
  22. testOnReturn: false
  23. poolPreparedStatements: true
  24. maxPoolPreparedStatementPerConnectionSize: 20
  25. filters: stat
  26. connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  27. #LOG
  28. logging:
  29. level:
  30. com.inkasso: debug
  31. config: classpath:logback-spring.xml
  32. #Redis缓存服务配置
  33. spring:
  34. servlet:
  35. multipart:
  36. max-file-size: 30485760
  37. max-request-size: 15485760
  38. redis:
  39. host: localhost
  40. port: 6379
  41. timeout: 20000
  42. pool:
  43. max-active: 8
  44. min-idle: 0
  45. max-idle: 8
  46. max-wait: -1
  47. database: 5
  48. main:
  49. allow-circular-references: true #允许循环引用
  50. kafubao:
  51. rateLimiter: 50000
  52. limiterTime: 5
  53. maxTenantSize: 50 #个人可认证的的最大企业个数
  54. file:
  55. resourcePath: /upload/**
  56. storagePath: D://kafubaoFileTest//
  57. not-login:
  58. url:
  59. - login/weixin/* #微信登录
  60. - login/fastRegister #微信快速注册
  61. - entitygenerator/* #代码生成器
  62. - entitygenerator/*/* #代码生成器
  63. - entitygenerator/*/*/* #代码生成器
  64. - codegenerator #代码生成器
  65. - codegenerator/*/*
  66. authentication: true
  67. freeNum: 1
  68. codegeneration:
  69. filePath: D:/codegeneration