external-server-dev.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. spring:
  2. sleuth:
  3. sampler:
  4. percentage: 1.0
  5. hystrix:
  6. strategy:
  7. enabled: false
  8. datasource:
  9. url: jdbc:mysql://192.168.1.204:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
  10. username: root
  11. password: Cs123456
  12. max-idle: 10
  13. max-wait: 10000
  14. min-idle: 5
  15. initial-size: 5
  16. validation-query: SELECT 1
  17. test-on-borrow: false
  18. test-while-idle: true
  19. time-between-eviction-runs-millis: 18800
  20. jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
  21. mail:
  22. host: smtp.qq.com
  23. port: 587
  24. username: 875160176@qq.com
  25. password: dzkwtwqzwyvubchj
  26. properties:
  27. mail:
  28. smtp:
  29. auth: true
  30. starttls:
  31. enable: true
  32. thymeleaf:
  33. prefix: classpath:/templates/
  34. suffix: .html
  35. mode: LEGACYHTML5
  36. encoding: UTF-8
  37. content-type: text/html
  38. cache: false
  39. #mybatis-plus
  40. mybatis-plus:
  41. configuration:
  42. cache-enabled: true
  43. mapper-locations: classpath*:/mapper/**/*.xml
  44. #实体扫描,多个package用逗号或者分号分隔
  45. typeAliasesPackage: ins.platform.po
  46. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  47. global-config:
  48. # 数据库相关配置
  49. db-config:
  50. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  51. id-type: id_worker
  52. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  53. field-strategy: not_empty
  54. #驼峰下划线转换
  55. column-underline: true
  56. #数据库大写下划线转换
  57. #capital-mode: true
  58. #逻辑删除配置
  59. logic-delete-value: 0
  60. logic-not-delete-value: 1
  61. db-type: h2
  62. #刷新mapper 调试神器
  63. refresh: true
  64. server:
  65. port: 18050
  66. logging:
  67. level: debug