application-dev.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. spring:
  2. dubbo:
  3. server: true
  4. registry: zookeeper://127.0.0.1:2181
  5. protocol:
  6. port: -1
  7. application:
  8. qosEnable: false
  9. version: 1.0.0
  10. provider:
  11. timeout: 30000
  12. datasource:
  13. type: com.alibaba.druid.pool.DruidDataSource
  14. driverClassName: com.mysql.cj.jdbc.Driver
  15. druid:
  16. url: jdbc:mysql://124.70.158.102:3306/echepei_base?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false
  17. username: root
  18. password: echepei1703
  19. initial-size: 10
  20. max-active: 100
  21. min-idle: 10
  22. max-wait: 60000
  23. pool-prepared-statements: true
  24. max-pool-prepared-statement-per-connection-size: 20
  25. time-between-eviction-runs-millis: 60000
  26. min-evictable-idle-time-millis: 300000
  27. #validation-query: SELECT 1 FROM DUAL
  28. test-while-idle: true
  29. test-on-borrow: false
  30. test-on-return: false
  31. stat-view-servlet:
  32. enabled: true
  33. url-pattern: /druid/*
  34. login-username: admin
  35. login-password: admin
  36. filter:
  37. stat:
  38. log-slow-sql: true
  39. slow-sql-millis: 1000
  40. merge-sql: true
  41. wall:
  42. config:
  43. multi-statement-allow: true
  44. # driverClassName: com.mysql.jdbc.Driver
  45. # url: jdbc:mysql://47.95.211.129:3306/pzmall?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false
  46. # username: pzmall
  47. # password: pzmall
  48. # #连接池的配置信息
  49. # initialSize: 10
  50. # minIdle: 10
  51. # maxActive: 100
  52. # maxWait: 60000
  53. # timeBetweenEvictionRunsMillis: 60000
  54. # minEvictableIdleTimeMillis: 300000
  55. # validationQuery: SELECT 1 FROM DUAL
  56. # testWhileIdle: true
  57. # testOnBorrow: false
  58. # testOnReturn: false
  59. # poolPreparedStatements: true
  60. # maxPoolPreparedStatementPerConnectionSize: 20
  61. #mybatis
  62. mybatis-plus:
  63. mapper-locations: classpath:/mybatis/**/*.xml
  64. #实体扫描,多个package用逗号或者分号分隔
  65. typeAliasesPackage: io.platform.*.biz.entity
  66. global-config:
  67. #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
  68. id-type: 0
  69. #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
  70. field-strategy: 2
  71. #驼峰下划线转换
  72. db-column-underline: true
  73. #刷新mapper 调试神器
  74. refresh-mapper: true
  75. #数据库大写下划线转换
  76. capital-mode: true
  77. #序列接口实现类配置
  78. #key-generator: com.baomidou.springboot.xxx
  79. #逻辑删除配置
  80. #logic-delete-value: 0
  81. #logic-not-delete-value: 1
  82. #自定义填充策略接口实现
  83. #meta-object-handler: com.baomidou.springboot.xxx
  84. #自定义SQL注入器
  85. #sql-injector: com.king.security.mybatis.interceptor.DataSecurityInterceptor
  86. configuration:
  87. map-underscore-to-camel-case: true
  88. cache-enabled: false
  89. #logging
  90. logging:
  91. org.springframework.web: info
  92. org.springboot : info
  93. io.platform : debug
  94. com.alibaba : info
  95. com.baomidou: info
  96. log:
  97. path: log/
  98. level: debug