Browse Source

jlj jlj1832

sanlin.shi 1 month ago
parent
commit
c340248616
4 changed files with 392 additions and 0 deletions
  1. 3 0
      README.md
  2. 1 0
      health-code.iml
  3. 189 0
      src/main/resources/application-jlj.yml
  4. 199 0
      src/main/resources/application-jlj1832.yml

+ 3 - 0
README.md

@@ -0,0 +1,3 @@
+application-linkage.yml 联动平台1832 阿里云 
+application-tangxi.yml 联动个平台
+application-tangxi5.yml 联动个平台1832

+ 1 - 0
health-code.iml

@@ -35,6 +35,7 @@
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="library" name="Maven: cn.hutool:hutool-all:5.8.11" level="project" />
     <orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-starter-test:2.4.5" level="project" />
     <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.4.5" level="project" />
     <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.4.5" level="project" />

+ 189 - 0
src/main/resources/application-jlj.yml

@@ -0,0 +1,189 @@
+server:
+  port: 9108
+  servlet:
+    context-path: /health-code
+    session:
+      persistent: false
+
+  tomcat:
+    accept-count: 150
+    uri-encoding: UTF-8
+    threads:
+      max: 800
+spring:
+  application:
+    name: health-code
+  jackson:
+    date-format: yyyy-MM-dd HH:mm:ss
+    #    default-property-inclusion: non_null
+    time-zone: GMT+8
+  #  datasource:
+  #    driver-class-name: com.mysql.cj.jdbc.Driver
+  #    url: jdbc:mysql://127.0.0.1:3356/short-term-traffic?characterEncoding=utf8&autoReconnect=true&allowMultiQueries=true&useSSL=false&serverTimezone=Asia/Shanghai
+  #    username: root
+  #    password: 1314
+  #    hikari:
+  #      maximum-pool-size: 10
+  #      minimum-idle: 5
+  #      connection-timeout: 30000
+  #      idle-timeout: 600000
+  #      max-lifetime: 1800000
+
+  messages:
+    basename: message/messages_zh_CN
+    encoding: UTF-8
+  servlet:
+    multipart:
+      enabled: true
+      max-file-size: 50MB
+      max-request-size: 50MB
+  redis:
+    database: 9
+    host: 172.16.100.36
+    lettuce:
+      pool:
+        max-active: 8   #最大连接数据库连接数,设 0 为没有限制
+        max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
+        max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
+        min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
+      shutdown-timeout: 100ms
+    password: 117521
+    port: 6379
+logging:
+  file:
+    name: ./logs/${spring.application.name}.log
+  level:
+    com.yixin.ms: info
+  logback:
+    rollingpolicy:
+      max-history: 10
+      max-file-size: 10MB
+  pattern:
+    console: "%clr(%d{${LOG_DATEFORMAT_PATTERN:yyyy-MM-dd HH:mm:ss.SSS}}){faint} %red(%X{traceId}) %clr( ${LOG_LEVEL_PATTERN:-%2p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}"
+    file: "%d{${LOG_DATEFORMAT_PATTERN:yyyy-MM-dd HH:mm:ss.SSS}} %X{traceId}  ${LOG_LEVEL_PATTERN:-%2p} ${PID:- } --- [%15.15t] %-40.40logger{39} : %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}"
+
+#mybatis:
+#  mapper-locations: classpath:mapper/*.xml
+#  type-aliases-package: com.yixin.ms.model.entity
+#  configuration:
+#    cache-enabled: true
+#    map-underscore-to-camel-case: true
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#pagehelper:
+#  helper-dialect: mysql
+#  page-size-zero: true
+#  params: count=countSql
+#  reasonable: true
+#  support-methods-arguments: true
+##``````````````````````````````````` tkMapper 配置``````````````````````````````````````````````````````````````###
+#mapper:
+#  mappers: com.yixin.ms.boot.component.tk.TKMapper
+##``````````````````````````````````` 微信小程序配置``````````````````````````````````````````````````````````````###
+#wx:
+#  miniapp:
+#    configs:
+#      - appid: wxdeb5c499efa41f25
+#        secret: af94aa600d0041d40be7db7bf415a3b7
+#        token: #微信小程序消息服务器配置的token
+#        aesKey: #微信小程序消息服务器配置的EncodingAESKey
+#        msgDataFormat: JSON
+#weixin.appid: wxdeb5c499efa41f25
+##``````````````````````````````````` 在线文档 配置``````````````````````````````````````````````````````````````###
+swagger:
+  enable: false
+knife4j:
+  enable: false
+  basic:
+    enable: false
+    ## Basic认证用户名
+    username: zsms
+    ## Basic认证密码
+    password: zsms
+##``````````````````````````````````` 上传文件 配置``````````````````````````````````````````````````````````````###
+file.upload.path: file/
+file.upload.path.relative: /file/**
+web.address: https://jlj.hz-hanghui.com:18888/yx-fyzd/
+
+
+#定时任务 每5分钟
+#cron.face.clear.user: 0 1/5 * * * ?
+
+##场所码
+health:
+  appKey: 6f32f95d52c04eb6851b8b0e1a3155ad
+  appSecret: 1b8f230d5904480ca3b6cc737c1211a2
+  queryInfoByBarCodeUrl: https://express.hangzhou-focus.com:8912/health-code/hh/queryInfoByBarCode
+  getProvinceHealthCodeUrl: https://express.hangzhou-focus.com:8912/health-code/irs/trip/getProvinceHealthCode
+  code:
+    zheClientId: szhz_hanghui_company
+    zheClientSecret: hg2dhfgdkjh348m16fsz13d1das2ca31f
+    zhePublicKey: 038484bd66f9d72a656c01ce6e37fa03c1c35fb80c0ccf30c52dd6c4ff401c5210
+    jiaClientId: szjx_hanghui_device
+    jiaClientSecret: 2696b10814a6a2e07b05ad6ab446658
+    jiaPublicKey: JP7Y5HEMz9yR4pC8
+    shaoClientId: zjsx_drzhjsph
+    shaoClientSecret: 0b9b9521377e45bc9296c009be2b6047
+    shaoPublicKey: r83rXqyMt4yi2lyp
+
+    #    设备扫码接口-标准接口.pdf
+    zheDomain: https://szhzjkm.hangzhou.gov.cn:9095
+    jiaDomain: https://gaj2.jiaxing.gov.cn:9094
+    shaoDomain: https://sxcsm.sx.gov.cn:9093
+    deviceScanIdCardUri: /api/v1/health/code/device/scanIdCard
+    deviceScanIdCardEncryptUri: /api/v1/health/code/device/scanIdCardEncrypt
+    deviceScanIdCardEncryptBodyUri: /api/v1/health/code/device/scanIdCardEncryptBody
+    deviceScanCodeUri: /api/v1/health/code/device/scanCode
+
+    # 自服务接口
+    getTokenUrl: http://127.0.0.1:9100/yx-fyzd/api/open/getToken
+    checkUserBlackListURL: http://127.0.0.1:9100/yx-fyzd/healthCode/checkUserBlackList
+    openPlaceInfoCache: true
+    queryPlaceInfoBySnUrl: http://127.0.0.1:9100/yx-fyzd/api/open/queryPlaceInfoBySn
+    savePlaceRecordUrl: http://127.0.0.1:9100/yx-fyzd/api/open/savePlaceRecord
+    queryUserExamInfo: http://127.0.0.1:9100/yx-fyzd/api/open/getExamUserWhitelist
+    checkIotUserPass: http://127.0.0.1:9100/yx-fyzd/api/open/checkIotUserPass
+    codeOpenJudgeUrl: http://127.0.0.1:9100/yx-fyzd/codeOpenJudge
+    #请求服务商平台
+    getAlipayUserInfoUrl: http://172.16.100.31:8000/hanghui/outapi/alipayApi/faceAuth/common/user/info/query
+
+#省共享IRS数据资源
+irs:
+  appKey: A330104242107202107000001
+  appSecret: 9a92d8b9d41f41729ab8ccbfaa547f12
+  secretKey: 9@nr!#G8*Kuw
+  tokenUrl: https://interface.zjzwfw.gov.cn/gateway/app/refreshTokenByKey.htm
+  refreshTokenUrl: https://interface.zjzwfw.gov.cn/gateway/app/refreshTokenBySec.htm
+  sendMsgUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/national/deYxdfMgX8cd8h76.htm
+  checkScheduleUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/dataSharing/OwQ79dcpSaDW050b.htm
+  healthCodeBaseInfoUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/dataSharing/uU4lb0350783d2fa.htm
+  vaccineUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/dataSharing/ObbOIJ7c3PkWs465.htm
+  nucleinListUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/dataSharing/8fGO7c2lb5S13Q0a.htm
+  health:
+    code:
+      appKey: gjp0ei80uj1vm59m7ydahewtt
+      appSecret: vgn74jpfg5o3gncev1avlceph
+      AppKey: 36022dcb14f2f7d5
+      queryInfoByBarCodeUrl: https://sql.hz.gov.cn/ESBWeb/servlets/33.1111.zjhz.kaEW1bjSV8.SynReq@1.0
+
+#皋亭山景区预约服务
+scenic:
+  configs:
+    - adminId: 117
+      account: 1510813918447009792
+      key: 7e1c0f501eb711eda50a753d19fc4e7b
+  verifyUrl: https://api.d6.com.cn/openapi/v1/verify
+  queryUrl: https://api.d6.com.cn/openapi/v1/query
+  consumeUrl: https://api.d6.com.cn/openapi/v1/consume
+
+#衢通码
+qu:
+  tong:
+    domain: https://xasz.0570w.net
+    # IOT设备身份认证
+    identityAuthUri: /visitor-code/iot/api/identityAuthentication
+    # 设备类型
+    deviceType: 217583
+    # 账号id 多个用逗号,隔开
+    adminId: 126
+
+

+ 199 - 0
src/main/resources/application-jlj1832.yml

@@ -0,0 +1,199 @@
+server:
+  port: 1832
+  servlet:
+    context-path: /
+    session:
+      persistent: false
+
+  tomcat:
+    accept-count: 150
+    uri-encoding: UTF-8
+    threads:
+      max: 800
+spring:
+  application:
+    name: face1832
+  jackson:
+    date-format: yyyy-MM-dd HH:mm:ss
+    #    default-property-inclusion: non_null
+    time-zone: GMT+8
+  #  datasource:
+  #    driver-class-name: com.mysql.cj.jdbc.Driver
+  #    url: jdbc:mysql://127.0.0.1:3356/short-term-traffic?characterEncoding=utf8&autoReconnect=true&allowMultiQueries=true&useSSL=false&serverTimezone=Asia/Shanghai
+  #    username: root
+  #    password: 1314
+  #    hikari:
+  #      maximum-pool-size: 10
+  #      minimum-idle: 5
+  #      connection-timeout: 30000
+  #      idle-timeout: 600000
+  #      max-lifetime: 1800000
+
+  messages:
+    basename: message/messages_zh_CN
+    encoding: UTF-8
+  servlet:
+    multipart:
+      enabled: true
+      max-file-size: 50MB
+      max-request-size: 50MB
+  redis:
+    database: 9
+    host: 172.16.100.36
+    lettuce:
+      pool:
+        max-active: 8   #最大连接数据库连接数,设 0 为没有限制
+        max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
+        max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
+        min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
+      shutdown-timeout: 100ms
+    password: 117521
+    port: 6379
+logging:
+  file:
+    name: ./logs/${spring.application.name}.log
+  level:
+    com.yixin.ms: info
+  logback:
+    rollingpolicy:
+      max-history: 3
+      max-file-size: 50MB
+  pattern:
+    console: "%clr(%d{${LOG_DATEFORMAT_PATTERN:yyyy-MM-dd HH:mm:ss.SSS}}){faint} %red(%X{traceId}) %clr( ${LOG_LEVEL_PATTERN:-%2p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}"
+    file: "%d{${LOG_DATEFORMAT_PATTERN:yyyy-MM-dd HH:mm:ss.SSS}} %X{traceId}  ${LOG_LEVEL_PATTERN:-%2p} ${PID:- } --- [%15.15t] %-40.40logger{39} : %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}"
+
+#mybatis:
+#  mapper-locations: classpath:mapper/*.xml
+#  type-aliases-package: com.yixin.ms.model.entity
+#  configuration:
+#    cache-enabled: true
+#    map-underscore-to-camel-case: true
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#pagehelper:
+#  helper-dialect: mysql
+#  page-size-zero: true
+#  params: count=countSql
+#  reasonable: true
+#  support-methods-arguments: true
+##``````````````````````````````````` tkMapper 配置``````````````````````````````````````````````````````````````###
+#mapper:
+#  mappers: com.yixin.ms.boot.component.tk.TKMapper
+##``````````````````````````````````` 微信小程序配置``````````````````````````````````````````````````````````````###
+#wx:
+#  miniapp:
+#    configs:
+#      - appid: wxdeb5c499efa41f25
+#        secret: af94aa600d0041d40be7db7bf415a3b7
+#        token: #微信小程序消息服务器配置的token
+#        aesKey: #微信小程序消息服务器配置的EncodingAESKey
+#        msgDataFormat: JSON
+#weixin.appid: wxdeb5c499efa41f25
+##``````````````````````````````````` 在线文档 配置``````````````````````````````````````````````````````````````###
+swagger:
+  enable: false
+knife4j:
+  enable: false
+  basic:
+    enable: false
+    ## Basic认证用户名
+    username: zsms
+    ## Basic认证密码
+    password: zsms
+##``````````````````````````````````` 上传文件 配置``````````````````````````````````````````````````````````````###
+file.upload.path: file/
+file.upload.path.relative: /file/**
+web.address: https://jlj.hz-hanghui.com:18888/yx-fyzd/
+
+
+#定时任务 每5分钟
+#cron.face.clear.user: 0 1/5 * * * ?
+
+##场所码
+health:
+  appKey: 6f32f95d52c04eb6851b8b0e1a3155ad
+  appSecret: 1b8f230d5904480ca3b6cc737c1211a2
+  queryInfoByBarCodeUrl: https://express.hangzhou-focus.com:8912/health-code/hh/queryInfoByBarCode
+  getProvinceHealthCodeUrl: https://express.hangzhou-focus.com:8912/health-code/irs/trip/getProvinceHealthCode
+  code:
+    zheClientId: szhz_hanghui_company
+    zheClientSecret: hg2dhfgdkjh348m16fsz13d1das2ca31f
+    zhePublicKey: 038484bd66f9d72a656c01ce6e37fa03c1c35fb80c0ccf30c52dd6c4ff401c5210
+    jiaClientId: szjx_hanghui_device
+    jiaClientSecret: 2696b10814a6a2e07b05ad6ab446658
+    jiaPublicKey: JP7Y5HEMz9yR4pC8
+    shaoClientId: zjsx_drzhjsph
+    shaoClientSecret: 0b9b9521377e45bc9296c009be2b6047
+    shaoPublicKey: r83rXqyMt4yi2lyp
+
+    #    设备扫码接口-标准接口.pdf
+    zheDomain: https://szhzjkm.hangzhou.gov.cn:9095
+    jiaDomain: https://gaj2.jiaxing.gov.cn:9094
+    shaoDomain: https://sxcsm.sx.gov.cn:9093
+    deviceScanIdCardUri: /api/v1/health/code/device/scanIdCard
+    deviceScanIdCardEncryptUri: /api/v1/health/code/device/scanIdCardEncrypt
+    deviceScanIdCardEncryptBodyUri: /api/v1/health/code/device/scanIdCardEncryptBody
+    deviceScanCodeUri: /api/v1/health/code/device/scanCode
+
+    # 自服务接口
+    getTokenUrl: http://127.0.0.1:9100/yx-fyzd/api/open/getToken
+    checkUserBlackListURL: http://127.0.0.1:9100/yx-fyzd/healthCode/checkUserBlackList
+    openPlaceInfoCache: true
+    queryPlaceInfoBySnUrl: http://127.0.0.1:9100/yx-fyzd/api/open/queryPlaceInfoBySn
+    savePlaceRecordUrl: http://127.0.0.1:9100/yx-fyzd/api/open/savePlaceRecord
+    queryUserExamInfo: http://127.0.0.1:9100/yx-fyzd/api/open/getExamUserWhitelist
+    checkIotUserPass: http://127.0.0.1:9100/yx-fyzd/api/open/checkIotUserPass
+    codeOpenJudgeUrl: http://127.0.0.1:9100/yx-fyzd/codeOpenJudge
+    #请求服务商平台
+    getAlipayUserInfoUrl: http://172.16.100.31:8000/hanghui/outapi/alipayApi/faceAuth/common/user/info/query
+#    getTokenUrl: https://tx.hz-hanghui.com:8088/yx-fyzd/api/open/getToken
+#    checkUserBlackListURL: https://tx.hz-hanghui.com:8088/yx-fyzd/healthCode/checkUserBlackList
+#    openPlaceInfoCache: true
+#    queryPlaceInfoBySnUrl: https://tx.hz-hanghui.com:8088/yx-fyzd/api/open/queryPlaceInfoBySn
+#    savePlaceRecordUrl: https://tx.hz-hanghui.com:8088/yx-fyzd/api/open/savePlaceRecord
+#    queryUserExamInfo: https://tx.hz-hanghui.com:8088/yx-fyzd/api/open/getExamUserWhitelist
+#    checkIotUserPass: https://tx.hz-hanghui.com:8088/yx-fyzd/api/open/checkIotUserPass
+#    codeOpenJudgeUrl: https://tx.hz-hanghui.com:8088/yx-fyzd/codeOpenJudge
+#    #请求服务商平台
+#    getAlipayUserInfoUrl: https://ldb-permit.hz-hanghui.com:8088/hanghui/outapi/alipayApi/faceAuth/common/user/info/query
+
+#省共享IRS数据资源
+irs:
+  appKey: A330104242107202107000001
+  appSecret: 9a92d8b9d41f41729ab8ccbfaa547f12
+  secretKey: 9@nr!#G8*Kuw
+  tokenUrl: https://interface.zjzwfw.gov.cn/gateway/app/refreshTokenByKey.htm
+  refreshTokenUrl: https://interface.zjzwfw.gov.cn/gateway/app/refreshTokenBySec.htm
+  sendMsgUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/national/deYxdfMgX8cd8h76.htm
+  checkScheduleUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/dataSharing/OwQ79dcpSaDW050b.htm
+  healthCodeBaseInfoUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/dataSharing/uU4lb0350783d2fa.htm
+  vaccineUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/dataSharing/ObbOIJ7c3PkWs465.htm
+  nucleinListUrl: https://interface.zjzwfw.gov.cn/gateway/api/001003001/dataSharing/8fGO7c2lb5S13Q0a.htm
+  health:
+    code:
+      appKey: gjp0ei80uj1vm59m7ydahewtt
+      appSecret: vgn74jpfg5o3gncev1avlceph
+      AppKey: 36022dcb14f2f7d5
+      queryInfoByBarCodeUrl: https://sql.hz.gov.cn/ESBWeb/servlets/33.1111.zjhz.kaEW1bjSV8.SynReq@1.0
+
+#皋亭山景区预约服务
+scenic:
+  configs:
+    - adminId: 117
+      account: 1510813918447009792
+      key: 7e1c0f501eb711eda50a753d19fc4e7b
+  verifyUrl: https://api.d6.com.cn/openapi/v1/verify
+  queryUrl: https://api.d6.com.cn/openapi/v1/query
+  consumeUrl: https://api.d6.com.cn/openapi/v1/consume
+
+#衢通码
+qu:
+  tong:
+    domain: https://xasz.0570w.net
+    # IOT设备身份认证
+    identityAuthUri: /visitor-code/iot/api/identityAuthentication
+    # 设备类型
+    deviceType: 217583
+    # 账号id 多个用逗号,隔开
+    adminId: 126
+
+