Gavin 6 tahun lalu
induk
melakukan
8b98dcdcba
4 mengubah file dengan 163 tambahan dan 0 penghapusan
  1. TEMPAT SAMPAH
      getregioninfo/getregioninfo
  2. 95 0
      getregioninfo/getregioninfo.yaml
  3. 8 0
      getregioninfo/push.sh
  4. 60 0
      getregioninfo/yamls/app.yaml

TEMPAT SAMPAH
getregioninfo/getregioninfo


+ 95 - 0
getregioninfo/getregioninfo.yaml

@@ -0,0 +1,95 @@
+listen: 8100
+runmode: debug        # 服务运行模式 debug/release
+alilog:
+  endpoint: cn-beijing-intranet.log.aliyuncs.com
+  accessKeyId: LTAICuoQ5ciJtfdq
+  accessKeySecret: fEI9Osujh6dunxGoYIJVqdr0yadaGq
+  project: xylogs
+  projectOld: xylogs2018
+gsdk:
+  app_id: userapi
+  auth_key: ce991fe2e92d1d6d73fc62c6ba420e79
+  ip: 172.17.18.107
+  port: 6033
+logs:
+  dir: ../log            # 文件保存路径
+  file: getregioninfo            # 文件名称,实际会保存为{filename}+{datetime}
+  level: 3            # 日志等级:0-error,1-warning,2-info,3-debug
+  savefile: false        # 是否保存为文件,置为false会输出到标准输出
+redis_fifteen:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 15
+  poolsize: 5
+redis_eight:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 8
+  poolsize: 5
+redis15:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 15
+  poolsize: 5
+redis0:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 0
+  poolsize: 5
+redis4:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 4
+  poolsize: 5
+redis5:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 5
+  poolsize: 5
+redis7:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 7
+  poolsize: 5
+redis8:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 8
+  poolsize: 5
+redis16:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 16
+  poolsize: 5
+redis17:
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 17
+  poolsize: 5
+brand:
+  id: 3
+  tag: xinyue
+  domain: xinyueyouxi.com
+  name: 心悦
+  userfrom: 7
+  client: 16384
+  tel:
+ymrt:
+  cdkey: 8SDK-EMY-6699-SERUN
+  pwd: 217650
+  data:
+    ename: 吉林省心悦网络科技有限公司
+    linkman: 邢东海
+    phonenum: 0432-81156088
+    mobile: 17790074587
+    email: xingdonghai@gmail.com
+    fax: 0432-81156088
+    address: 吉林省 长春市 南关区 伟峰国际商务中心 1701室
+    postcode: 130000
+moston:
+  appkey: "Y0fPsd3cJL"
+  appsecret: "73ef5e05d6563434ab5d47eb39acbba3"
+  urlaccesstoken: "https://api.open.mostonetech.com/oauth2/access_token?appKey=%s&appSecret=%s&code=%s"
+  urlrefreshtoken: "https://api.open.mostonetech.com/oauth2/refresh_token?appKey=%s&refreshToken=%s"
+  urluserinfo: "https://api.open.mostonetech.com/mw/userinfo?accessToken=%s&openId=%s"
+  urlcode: "https://api.open.mostonetech.com/mw/connect?appKey=%s&redirectUri=%s&state=%s"

+ 8 - 0
getregioninfo/push.sh

@@ -0,0 +1,8 @@
+#!/bin/bash
+
+release=$1
+
+[ ! -n "$release" ] && exit 1
+
+docker build -t registry-vpc.cn-beijing.aliyuncs.com/xinyue/getregioninfo:${release} .
+docker push registry-vpc.cn-beijing.aliyuncs.com/xinyue/getregioninfo:${release}

+ 60 - 0
getregioninfo/yamls/app.yaml

@@ -0,0 +1,60 @@
+data:
+  userapi_url: http://japi1.weile.com/
+  brand:
+    id: 1
+    tag: jixiang
+    domain: jixiang.cn
+    name: 吉祥
+    userfrom: 7
+    client: 16384
+    tel: 4008777868
+  ymrt:
+    cdkey: 6SDK-EMY-6688-KJYSN
+    pwd: 437727
+    data:
+      ename: 吉林省鑫泽网络技术有限公司
+      linkman: 邢东海
+      phonenum: 0432-81156088
+      mobile: 17790074587
+      email: xingdonghai@gmail.com
+      fax: 0432-81156088
+      address: 吉林省 长春市 南关区 南湖大路788号 鸿城国际商务中心
+      postcode: 130000
+    api_url_domain: hprpt2
+  apisdk:
+    0:
+      app_ids: []
+      redis_addr:
+        addr: r-2zeee704e290be24.redis.rds.aliyuncs.com:6379 #应用Redis缓存数据库地址
+        db: 10
+        password: weiLeJXreDis2017
+      redis_database_index: 8 # 应用Redis缓存数据库索引
+      gsdk_addr: tcp://10.16.196.164:10015
+      gsdk_app: userapi
+      gsdk_key: ce991fe2e92d1d6d73fc62c6ba420e79
+      stats_beanstalkd:
+        persistent: true
+        host: 127.0.0.1
+        port: 11300
+        timeout: 1
+        logger: nulls
+  sududa:
+    username: u_ea969a579442
+    key: 8bc30a31e63e2287ccdbde8502ae9a2a
+    phone: 13756901620
+  aliyun:
+    region: cn-beijing
+    accesskey: LTAIH3iJQh6oP55w
+    secret: Ao9OOIIeA4xfi3Z84KuaupUYhyErEs
+  wechat:
+    appid: wx19abac9b5654ef0f #微信公众平台APPID
+    appsecret: 68bd96230157c6950961c4430d306c5e #微信公众平台AppSecret
+    token: 3d27fee3fc669fad4de51590124c552b #通信TOKEN配置
+    mch_id: 1232676002 #微信支付商户ID
+    # api_key: 3a40aaf1187eafa706cdbb14fd7b422f #API秘钥
+    api_key: d2b8d47cb89a1c3931e72f2dce02242c
+    sslcert_path: /apiclient_cert.pem #证书路径
+    sslkey_path: /apiclient_key.pem  #证书秘钥路径
+    sslrootca: /rootca.pem
+  amap:
+    key: 915ebe6444e9688f3d5a6e473d67e959