Browse Source

【代码】计量健康码迁移至48922服务

yjj 2 years ago
parent
commit
0c1d81e7d7
2 changed files with 158 additions and 1 deletions
  1. 1 1
      pom.xml
  2. 157 0
      src/main/resources/application-prod-48922.yml

+ 1 - 1
pom.xml

@@ -217,7 +217,7 @@
     </dependencies>
 
     <build>
-        <finalName>health-code</finalName>
+        <finalName>jiliang-health-code</finalName>
 
         <!--加上这个才能打包时将静态资源打进去-->
         <resources>

+ 157 - 0
src/main/resources/application-prod-48922.yml

@@ -0,0 +1,157 @@
+server:
+  port: 9110
+  servlet:
+    context-path: /jiliang-health-code
+    session:
+      persistent: false
+
+  tomcat:
+    accept-count: 150
+    uri-encoding: UTF-8
+    threads:
+      max: 20
+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: 127.0.0.1
+    lettuce:
+      pool:
+        max-active: 8   #最大连接数据库连接数,设 0 为没有限制
+        max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
+        max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
+        min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
+      shutdown-timeout: 100ms
+    password: ''
+    port: 6379
+logging:
+  file:
+    name: ./logs/${spring.application.name}.log
+  level:
+    com.yixin.ms: info
+  logback:
+    rollingpolicy:
+      max-history: 10
+      max-file-size: 10MB
+
+#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: true
+knife4j:
+  enable: true
+  basic:
+    enable: true
+    ## Basic认证用户名
+    username: zsms
+    ## Basic认证密码
+    password: zsms
+##``````````````````````````````````` 上传文件 配置``````````````````````````````````````````````````````````````###
+#file.upload.path: file/
+#file.upload.path.relative: /file/**
+#web.address: http://127.0.0.1:8800/traffic-violation-publicity/
+
+
+#定时任务 每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:
+    clientId: szhz_hanghui_company
+    clientSecret: hg2dhfgdkjh348m16fsz13d1das2ca31f
+    publicKey: 038484bd66f9d72a656c01ce6e37fa03c1c35fb80c0ccf30c52dd6c4ff401c5210
+    deviceScanIdCardUrl: https://szhzjkm.hangzhou.gov.cn:9095/api/v1/health/code/device/scanIdCard
+    deviceScanIdCardEncryptUrl: https://szhzjkm.hangzhou.gov.cn:9095/api/v1/health/code/device/scanIdCardEncrypt
+    deviceScanCodeUrl: https://szhzjkm.hangzhou.gov.cn:9095/api/v1/health/code/device/scanCode
+    queryPlaceInfoBySnUrl: https://172.16.100.42:8088/yx-fyzd/api/open/queryPlaceInfoBySn
+    savePlaceRecordUrl: https://172.16.100.42:8088/yx-fyzd/api/open/savePlaceRecord
+    getTokenUrl: https://172.16.100.42:8088/yx-fyzd/api/open/getToken
+    checkUserBlackListURL: http://172.16.100.42:8088/yx-fyzd/healthCode/checkUserBlackList
+#省共享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
+  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
+
+#计量大学校园平台开放接口服务
+jiliang:
+  appKey: anq011VcM
+  appSecret: 62efd908c142f4b2e2b2f0eca0c735a75ea9d4a0
+  getTokenUrl: https://icampus.ldxk.edu.cn/teamcube-coop/app-platform/api/rest/api_token
+  canPassUrl: https://icampus.ldxk.edu.cn/teamcube-coop/app-platform/api/rest/update_op/yqfkgl/xym/Dzjjk
+