osms-server-dev.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #app
  2. server:
  3. port: 8080
  4. #spring
  5. spring:
  6. devtools:
  7. restart:
  8. enabled: false
  9. # H2 DATABASE CONFIG
  10. datasource:
  11. type: com.zaxxer.hikari.HikariDataSource
  12. # schema: classpath:/db/schema-h2.sql
  13. # data: classpath:/db/data-h2.sql
  14. url: jdbc:mysql://192.168.1.204:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
  15. username: root
  16. password: Cs123456
  17. initialization-mode: always
  18. continue-on-error: true
  19. #mybatis
  20. mybatis-plus:
  21. mapper-locations: classpath:/mapper/*Mapper.xml
  22. #实体扫描,多个package用逗号或者分号分隔
  23. typeAliasesPackage: ins.platform.osms.user.po
  24. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  25. global-config:
  26. # 数据库相关配置
  27. db-config:
  28. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  29. id-type: id_worker
  30. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  31. field-strategy: not_empty
  32. #驼峰下划线转换
  33. column-underline: true
  34. #数据库大写下划线转换
  35. #capital-mode: true
  36. #逻辑删除配置
  37. logic-delete-value: 0
  38. logic-not-delete-value: 1
  39. db-type: mysql
  40. #刷新mapper 调试神器
  41. refresh: true
  42. # 原生配置
  43. configuration:
  44. map-underscore-to-camel-case: true
  45. cache-enabled: false
  46. ##logging
  47. #logging:
  48. # level: warn
  49. socket:
  50. io:
  51. host: 0.0.0.0
  52. port: 9095
  53. platform: /osms