application-dev.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # 【开发环境】
  2. spring:
  3. # redis 配置
  4. redis:
  5. host: 127.0.0.1
  6. # password: jiang
  7. port: 6379
  8. database: 0
  9. timeout: 10s
  10. lettuce:
  11. pool:
  12. min-idle: 0
  13. max-idle: 8
  14. max-active: 8
  15. max-wait: -1ms
  16. # 数据源 配置
  17. datasource:
  18. type: com.alibaba.druid.pool.DruidDataSource
  19. driverClassName: com.mysql.cj.jdbc.Driver
  20. druid:
  21. master:
  22. # url: jdbc:mysql://192.168.33.128:3305/cwzjgk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  23. # username: root
  24. # password: 123456
  25. url: jdbc:mysql://39.105.58.247:3306/ipds?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  26. username: ipds
  27. password: ipds@2024!
  28. # url: jdbc:mysql://22.56.120.94:3306/cwzjgk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  29. # username: root
  30. # password: HNhf@2024
  31. slave:
  32. enabled: false
  33. url:
  34. username:
  35. password:
  36. initialSize: 5
  37. minIdle: 10
  38. maxActive: 20
  39. maxWait: 60000
  40. connectTimeout: 30000
  41. socketTimeout: 60000
  42. timeBetweenEvictionRunsMillis: 60000
  43. minEvictableIdleTimeMillis: 300000
  44. maxEvictableIdleTimeMillis: 900000
  45. validationQuery: SELECT 1 FROM DUAL
  46. testWhileIdle: true
  47. testOnBorrow: false
  48. testOnReturn: false
  49. webStatFilter:
  50. enabled: true
  51. statViewServlet:
  52. enabled: true
  53. allow:
  54. url-pattern: /druid/*
  55. login-username: admin
  56. login-password: admin123
  57. filter:
  58. stat:
  59. enabled: true
  60. log-slow-sql: true
  61. slow-sql-millis: 1000
  62. merge-sql: true
  63. wall:
  64. config:
  65. multi-statement-allow: true
  66. # ocr【测试环境】
  67. ai:
  68. ocr:
  69. clientId: hunan
  70. clientSecret: 1999C0D0-439F-4A0B-8397-BE98C590321F
  71. username: 13051895824
  72. password: hunan123456!
  73. ocrServer: https://msapi.esgcc.com.cn/ai/prod-api
  74. deviceId: abcdefghijklmnopqrstuvwx98
  75. sm2PublicKey: 04be20d2cd20e5efd2e81e9e646e658898b4cfd2da301e00ec93bb27f2a6fbc36973ae552eaa4ba34ad28429beeb39e30903b5fb39164102d3d2e10c3dc56f4a7d
  76. sm2PrivateKey: 71cce13c70cf4a0c29a5fae4a27ceb3066610272a07521903f1abf6041ec28c1
  77. tempPath: D:\hywzqlc\tempPath
  78. msg:
  79. url: http://192.168.2.15:9999/admin/sysMsg/sendMsg