im-server-dev.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. socket:
  2. io:
  3. host: 0.0.0.0
  4. port: 9092
  5. platform: /inform
  6. #dev环境公共配置文件
  7. spring:
  8. sleuth:
  9. sampler:
  10. percentage: 1.0
  11. hystrix:
  12. strategy:
  13. enabled: false
  14. datasource:
  15. url: jdbc:mysql://192.168.1.204:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
  16. username: root
  17. password: Cs123456
  18. max-idle: 10
  19. max-wait: 10000
  20. min-idle: 5
  21. initial-size: 5
  22. validation-query: SELECT 1
  23. test-on-borrow: false
  24. test-while-idle: true
  25. time-between-eviction-runs-millis: 18800
  26. jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
  27. #mybatis-plus
  28. #mybatis-plus
  29. mybatis-plus:
  30. mapper-locations: classpath*:/mapper/**/*.xml
  31. #实体扫描,多个package用逗号或者分号分隔
  32. typeAliasesPackage: ins.platform.po
  33. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  34. global-config:
  35. # 数据库相关配置
  36. db-config:
  37. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  38. id-type: id_worker
  39. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  40. field-strategy: not_empty
  41. #驼峰下划线转换
  42. column-underline: true
  43. #数据库大写下划线转换
  44. #capital-mode: true
  45. #逻辑删除配置
  46. logic-delete-value: 0
  47. logic-not-delete-value: 1
  48. db-type: h2
  49. #刷新mapper 调试神器
  50. refresh: true
  51. # 打印sql
  52. logging:
  53. level:
  54. com.onepro.custom.mapper: DEBUG
  55. saa:
  56. power: false
  57. basePackage: ins/**/po
  58. address:
  59. record: /home/record/
  60. im:
  61. satis: 192.168.1.110:9001