application.yml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. server:
  2. port: 10086
  3. application:
  4. name: test
  5. spring:
  6. datasource:
  7. dynamic:
  8. primary: master
  9. strict: false
  10. datasource:
  11. master:
  12. url: jdbc:mysql://10.10.10.221:3306/business_order?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
  13. username: business_order
  14. password: business_order
  15. driver-class-name: com.mysql.cj.jdbc.Driver
  16. truck:
  17. url: jdbc:mysql://10.10.10.221:3306/business_truck?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
  18. username: business_truck
  19. password: business_truck
  20. driver-class-name: com.mysql.cj.jdbc.Driver
  21. address:
  22. url: jdbc:mysql://10.10.10.221:3306/business_address?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
  23. username: business_address
  24. password: business_address
  25. driver-class-name: com.mysql.cj.jdbc.Driver
  26. driver:
  27. url: jdbc:mysql://10.10.10.221:3306/business_driver?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
  28. username: business_driver
  29. password: business_driver
  30. driver-class-name: com.mysql.cj.jdbc.Driver
  31. path:
  32. url: jdbc:mysql://10.10.10.221:3306/business_path?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
  33. username: business_path
  34. password: business_path
  35. driver-class-name: com.mysql.cj.jdbc.Driver
  36. goods:
  37. url: jdbc:mysql://10.10.10.221:3306/business_goods?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
  38. username: business_goods
  39. password: business_goods
  40. driver-class-name: com.mysql.cj.jdbc.Driver
  41. company:
  42. url: jdbc:mysql://10.10.10.221:3306/business_company?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
  43. username: business_company
  44. password: business_company
  45. driver-class-name: com.mysql.cj.jdbc.Driver
  46. user:
  47. url: jdbc:mysql://10.10.10.221:3306/business_user?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
  48. username: business_user
  49. password: business_user
  50. driver-class-name: com.mysql.cj.jdbc.Driver
  51. data:
  52. redis:
  53. host: 10.10.10.221
  54. password: test
  55. port: 6379
  56. database: 30
  57. timeout: 10000
  58. #
  59. #mybatis-plus:
  60. # mapper-locations: classpath*:/mapper/*.xml #扫描xml文件
  61. # #实体扫描,多个package用逗号或者分号分隔
  62. # typeAliasesPackage: com.sckw.*.entity
  63. # configuration:
  64. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  65. #
  66. mybatis-plus:
  67. mapper-locations: classpath*:/mapper/*.xml
  68. typeAliasesPackage: com.sckw.*.entity
  69. configuration:
  70. map-underscore-to-camel-case: true
  71. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl