smart-server-dev.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. spring:
  2. sleuth:
  3. sampler:
  4. percentage: 1.0
  5. hystrix:
  6. strategy:
  7. enabled: false
  8. datasource:
  9. dynamic:
  10. primary: master
  11. datasource:
  12. master:
  13. url: jdbc:mysql://172.16.88.234:3306/callcenterdb3.0?useUnicode=true&characterEncoding=utf-8
  14. username: root
  15. password: admin01
  16. max-idle: 10
  17. max-wait: 10000
  18. min-idle: 5
  19. initial-size: 5
  20. validation-query: SELECT 1
  21. test-on-borrow: false
  22. test-while-idle: true
  23. time-between-eviction-runs-millis: 18800
  24. driver-class-name: com.mysql.jdbc.Driver
  25. jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
  26. autoconfigure:
  27. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  28. #mybatis-plus
  29. mybatis-plus:
  30. configuration:
  31. cache-enabled: true
  32. mapper-locations: classpath*:/mapper/**/*.xml
  33. #实体扫描,多个package用逗号或者分号分隔
  34. typeAliasesPackage: ins.platform.po
  35. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  36. global-config:
  37. # 数据库相关配置
  38. db-config:
  39. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  40. id-type: id_worker
  41. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  42. field-strategy: not_empty
  43. #驼峰下划线转换
  44. column-underline: true
  45. #数据库大写下划线转换
  46. #capital-mode: true
  47. #逻辑删除配置
  48. logic-delete-value: 0
  49. logic-not-delete-value: 1
  50. db-type: h2
  51. #刷新mapper 调试神器
  52. refresh: true
  53. #过滤多租户tenant_id条件
  54. sql-parser-cache: true
  55. server:
  56. port: 18070
  57. address:
  58. record: /home/record/
  59. saa:
  60. power: false
  61. basePackage: ins/**/po
  62. #内外网标识#true为内网#false为外网
  63. network:
  64. intranet: true
  65. logging:
  66. level: debug
  67. ai:
  68. dial-url: http://192.168.1.204:18000/
  69. apiins:
  70. url: https://wxpb-dev.apiins.com/VideoWorld/
  71. serviceUrl: http://112.95.154.98:8611/oms_tm/smsSend.service
  72. aliyun:
  73. accessKeyId: LTAI5tSX5ezWkfYParnjpsn3
  74. accessKeySecret: yiJbhfhRBqCeJiALIsrmaTSPyCVdy2
  75. appKey: Yh87WuTwvsBBzH1G
  76. addressKey: 68kaknufjr4a
  77. #外网获取手机归属
  78. ascription:
  79. url: http://api.online-service.vip/phone
  80. # 高德地图appKey
  81. amap:
  82. key: ff4903d14da58237962cfa1406061d37