application-dev.yml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. server:
  2. port: 2203
  3. spring:
  4. main:
  5. allow-circular-references: true
  6. # datasource:
  7. # type: com.alibaba.druid.pool.DruidDataSource
  8. # driver-class-name: com.mysql.cj.jdbc.Driver
  9. # url: jdbc:mysql://192.10.33.120:3306/ca_sign?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&allowMultiQueries=true&useSSL=false
  10. # username: root
  11. # password: 3409git
  12. datasource:
  13. dynamic:
  14. primary: master
  15. strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
  16. lazy: true
  17. datasource:
  18. master:
  19. type: com.alibaba.druid.pool.DruidDataSource
  20. driver-class-name: com.mysql.cj.jdbc.Driver
  21. url: jdbc:mysql://192.168.2.21:3306/park_car?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&allowMultiQueries=true&useSSL=false
  22. username: root
  23. password: gentmysql123
  24. data:
  25. redis:
  26. database: 2
  27. host: 192.168.2.13
  28. port: 6379
  29. password: 123456
  30. # host: 127.0.0.1
  31. # port: 8379
  32. # password: zhxl123321
  33. # password: "gitxm#redis"
  34. timeout: 10s
  35. lettuce:
  36. pool:
  37. # 连接池最大连接数 默认8 ,负数表示没有限制
  38. max-active: 8
  39. # 连接池最大阻塞等待时间(使用负值表示没有限制) 默认-1
  40. max-wait: -1
  41. # 连接池中的最大空闲连接 默认8
  42. max-idle: 8
  43. # 连接池中的最小空闲连接 默认0
  44. min-idle: 0
  45. mybatis-plus:
  46. global-config:
  47. db-config:
  48. # 主键ID类型
  49. id-type: none
  50. logic-delete-field: deleted
  51. logic-delete-value: 1
  52. logic-not-delete-value: 0
  53. configuration:
  54. # 驼峰下划线转换
  55. map-underscore-to-camel-case: true
  56. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  57. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  58. logging:
  59. level:
  60. com.qmrb.system.mapper.mapper: debug
  61. # 认证配置
  62. auth:
  63. token:
  64. secret_key: SecretKey012345678901234567890123456789012345678901234567890123456789
  65. # token 有效期(单位:秒)
  66. ttl: 86400000
  67. # 客商领券二维码有效期
  68. overDue: 900
  69. # 取车二维码有效期(秒)
  70. fetchVehicleTime: 180
  71. # MinIO 分布式文件系统
  72. minio:
  73. endpoint: http://localhost:9000
  74. access-key: minioadmin
  75. secret-key: minioadmin
  76. # 存储桶名称
  77. bucket-name: default
  78. # 自定义域名(非必须),Nginx配置反向代理转发文件路径
  79. custom-domain:
  80. # springdoc配置: https://springdoc.org/properties.html
  81. springdoc:
  82. swagger-ui:
  83. enabled: true
  84. operationsSorter: alpha
  85. tags-sorter: alpha
  86. api-docs:
  87. enabled: true
  88. # 验证码配置
  89. easy-captcha:
  90. enable: true
  91. # 验证码类型: arithmetic-算术
  92. type: arithmetic
  93. # 验证码有效时间(单位:秒)
  94. ttl: 120
  95. # xxl-job 定时任务配置
  96. xxl:
  97. job:
  98. # xxl-job 开关
  99. enabled: false
  100. admin:
  101. # 多个地址使用,分割
  102. addresses: http://127.0.0.1:8080/xxl-job-admin
  103. accessToken: default_token
  104. executor:
  105. appname: xxl-job-executor-${spring.application.name}
  106. address:
  107. ip:
  108. port: 9999
  109. logpath: /data/applogs/xxl-job/jobhandler
  110. logretentiondays: 30
  111. # 系统配置
  112. system-config:
  113. # 数据权限配置
  114. data-permission:
  115. # 数据权限开关
  116. enabled: true
  117. # 电子病历配置
  118. emr:
  119. # 电子病历图片上传
  120. img-upload:
  121. # 图片上传路径
  122. file-path: /u01/ca_sign/img
  123. # 图片访问地址
  124. file-url: http://localhost:9090/test/
  125. application:
  126. soap-check: N
  127. default-dept-id: 5
  128. default-role-id: 13
  129. #登录校验
  130. pkis-url: http://192.0.33.91:8080/pkis/services/v1?wsdl
  131. #登录二维码
  132. qr-url: http://192.0.33.91:8080/PKIQRCode/services/v1?wsdl
  133. config-setting:
  134. domain: http://meiqikeji.com
  135. base-path: d:/u01/ca_sign
  136. pdf-path: /pdf/ca_sign
  137. ca-sign:
  138. domain: https://qy.jhsec.com.cn
  139. # domain: http://172.16.1.30
  140. username: xmzsmbzx
  141. password: 385579956d67433689cc70a1628a3f09
  142. grant-type: password
  143. client-id: client
  144. client-secret: secret
  145. call-back-url: http://172.16.1.159:8989/ca
  146. server-secret: 89H5q5EZSMFLVYJV
  147. qr-code-domain-jh: https://qy.jhsec.com.cn
  148. qr-code-domain: https://etc.xmzsh.com
  149. #内网签名服务器
  150. sign-domain: http://192.0.33.91:8080
  151. sys: qmrbETC
  152. wx-push-url: https://172.16.1.34
  153. htemr-server: http://192.1.33.126:81
  154. rtms-server: http://192.0.33.104:8080
  155. ocr-server: http://192.6.33.2:1224
  156. apache:
  157. rocketmq:
  158. consumer:
  159. pushConsumer: XiaourPushConsumer
  160. producer:
  161. producerGroup: Xiaour
  162. namesrvAddr: 8.138.18.76:8086
  163. pickCarProducer:
  164. topic: PushTopic8089
  165. tags: push
  166. default_qrcode_login_url: mini.qmrb.net:9990/#/coupon
  167. # 是否开启抵扣
  168. deductionSwitch: true