application-dev.yml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. # MinIO 分布式文件系统
  68. minio:
  69. endpoint: http://localhost:9000
  70. access-key: minioadmin
  71. secret-key: minioadmin
  72. # 存储桶名称
  73. bucket-name: default
  74. # 自定义域名(非必须),Nginx配置反向代理转发文件路径
  75. custom-domain:
  76. # springdoc配置: https://springdoc.org/properties.html
  77. springdoc:
  78. swagger-ui:
  79. enabled: true
  80. operationsSorter: alpha
  81. tags-sorter: alpha
  82. api-docs:
  83. enabled: true
  84. # 验证码配置
  85. easy-captcha:
  86. enable: true
  87. # 验证码类型: arithmetic-算术
  88. type: arithmetic
  89. # 验证码有效时间(单位:秒)
  90. ttl: 120
  91. # xxl-job 定时任务配置
  92. xxl:
  93. job:
  94. # xxl-job 开关
  95. enabled: false
  96. admin:
  97. # 多个地址使用,分割
  98. addresses: http://127.0.0.1:8080/xxl-job-admin
  99. accessToken: default_token
  100. executor:
  101. appname: xxl-job-executor-${spring.application.name}
  102. address:
  103. ip:
  104. port: 9999
  105. logpath: /data/applogs/xxl-job/jobhandler
  106. logretentiondays: 30
  107. # 系统配置
  108. system-config:
  109. # 数据权限配置
  110. data-permission:
  111. # 数据权限开关
  112. enabled: true
  113. # 电子病历配置
  114. emr:
  115. # 电子病历图片上传
  116. img-upload:
  117. # 图片上传路径
  118. file-path: /u01/ca_sign/img
  119. # 图片访问地址
  120. file-url: http://localhost:9090/test/
  121. application:
  122. soap-check: N
  123. default-dept-id: 5
  124. default-role-id: 13
  125. #登录校验
  126. pkis-url: http://192.0.33.91:8080/pkis/services/v1?wsdl
  127. #登录二维码
  128. qr-url: http://192.0.33.91:8080/PKIQRCode/services/v1?wsdl
  129. config-setting:
  130. domain: http://meiqikeji.com
  131. base-path: d:/u01/ca_sign
  132. pdf-path: /pdf/ca_sign
  133. ca-sign:
  134. domain: https://qy.jhsec.com.cn
  135. # domain: http://172.16.1.30
  136. username: xmzsmbzx
  137. password: 385579956d67433689cc70a1628a3f09
  138. grant-type: password
  139. client-id: client
  140. client-secret: secret
  141. call-back-url: http://172.16.1.159:8989/ca
  142. server-secret: 89H5q5EZSMFLVYJV
  143. qr-code-domain-jh: https://qy.jhsec.com.cn
  144. qr-code-domain: https://etc.xmzsh.com
  145. #内网签名服务器
  146. sign-domain: http://192.0.33.91:8080
  147. sys: qmrbETC
  148. wx-push-url: https://172.16.1.34
  149. htemr-server: http://192.1.33.126:81
  150. rtms-server: http://192.0.33.104:8080
  151. ocr-server: http://192.6.33.2:1224
  152. wxpay:
  153. #应用编号
  154. appId: xxxxxxxxxxxxx
  155. #商户号
  156. mchId: xxxxxxxxxxxxx
  157. # APIv3密钥
  158. apiV3Key: xxxxxxxxxxxxx
  159. # 支付通知回调, 本地测试内网穿透地址
  160. notifyUrl: http://405c3382p5.goho.co:25325/wenbo-pay/notify/payNotify
  161. # 退款通知回调, 本地测试内网穿透地址
  162. refundNotifyUrl: http://405c3382p5.goho.co:25325/wenbo-pay/notify/refundNotify
  163. # 密钥路径,resources根目录下
  164. keyPemPath: apiclient_key.pem
  165. # 商户证书序列号
  166. serialNo: xxxxxxxxxxxxx
  167. # 小程序密钥
  168. appSecret: xxxxxxxxxxxxx