• haoyanbin's avatar
    1 · 3f19d047
    haoyanbin authored
    3f19d047
config.yaml 3.42 KB
aliyun-oss:
  endpoint: "http://oss-cn-beijing.aliyuncs.com"
  access-key-id: "LTAI5tRZJzrwgvftsRHKeoYv"
  access-key-secret: "NwAhBTU62e8Z7q1G9r0PyHsqcGMEnX"
  bucket-name: "dbc-static"
  bucket-url: "https://dbc-static.oss-cn-beijing.aliyuncs.com"
  directory: "dbc-medical"
aliyun-oss-image:
  endpoint: "http://oss-cn-beijing.aliyuncs.com"
  access-key-id: "LTAI5tRZJzrwgvftsRHKeoYv"
  access-key-secret: "NwAhBTU62e8Z7q1G9r0PyHsqcGMEnX"
  bucket-name: "dbc-dcm"
  bucket-url: "https://oss.pet-dbc.vip"
  directory: "custom_image"
autocode:
  transfer-restart: true
  root: /Users/haoyanbin/go/src
  server: /server
  server-api: /api/v1
  server-initialize: /initialize
  server-model: /model
  server-request: /model/request/
  server-router: /router
  server-service: /service
  web: /web/src
  web-api: /api
  web-form: /view
  web-table: /view
  web-flow: /view
captcha:
  key-long: 6
  img-width: 240
  img-height: 80
casbin:
  model-path: ./resource/rbac_model.conf
email:
  to: xxx@qq.com
  port: 465
  from: xxx@163.com
  host: smtp.163.com
  is-ssl: true
  secret: xxx
  nickname: test
excel:
  dir: ./resource/excel/
jwt:
  signing-key: qmPlus
  expires-time: 60480000
  buffer-time: 86400
local:
  path: uploads/file
mysql:
  path: rm-2zenl1z0v6209a4jrbo.mysql.rds.aliyuncs.com
  config: charset=utf8mb4&parseTime=True&loc=Local
  db-name: dt_analysis
  username: root_shop
  password: DBC_shopqwe
  max-idle-conns: 0
  max-open-conns: 0
  log-mode: false
  log-zap: ""
clickhouse:
  host: "cc-2zejbg2y0c0m15o20o.ads.rds.aliyuncs.com:3306"
  debug: true
  database: "dbc_clinic"
  username: "root_house"
  password: "dbc_root888"
qiniu:
  zone: ZoneHuaDong
  bucket: ""
  img-path: ""
  use-https: false
  access-key: ""
  secret-key: ""
  use-cdn-domains: false
#127.0.0.1:6379  172.17.36.64:6379
redis:
  addr: 39.96.85.45:6382
  password: saas123456
  db: 4
  pool_size: 200
  max_retries: 3
system:
  env: public
  addr: 12001
  db-type: mysql
  oss-type: aliyun-oss
  use-multipoint: false
  usertype: 1
tencent-cos:
  bucket: xxxxx-10005608
  region: ap-shanghai
  secret-id: xxxxxxxx
  secret-key: xxxxxxxx
  base-url: https://gin.vue.admin
  path-prefix: gin-vue-admin
timer:
  start: true
  spec: '@daily'
  detail:
  - tableName: sys_operation_records
    compareField: created_at
    interval: 2160h
zap:
  level: info
  format: console
  prefix: '[GIN-VUE-ADMIN]'
  director: log
  link-name: latest_log
  showLine: true
  encode-level: LowercaseColorLevelEncoder
  stacktrace-key: stacktrace
  log-in-console: true

encrypt:
  key: "75SIQyfvwHDU0GbO"
common:
  type: "2"
  url: "https://tdt.pet-dbc.cn/"

sms:
  smsname: "dbc"
  smspwd: "Dbc38590"
  epid: "125060"
  sign: "【谛医】"
  ip: "114.255.71.158:8061"
  url: "https://tsms.pet-dbc.cn/v1/send"

wx: # wx0e311bf538eec0a1 51e0e550569535352be0d0e3fbd21946  ! wxb8fe0ea4e5de5a24 24f0e0148693725a02102ec1eaccdb57
  appid: "wxb8fe0ea4e5de5a24"
  appsecret: "e2a8ec3ef42d107ccb28a69fa5c6bc08"
  apikey: "dibaocheng20190410dibaocheng2019"
  mchid: "1542380391"
bkwx:
  appid: "wxd4fbb3f31eae7bf4"
  appsecret: "c8de5f6534c9e7bc205fa7e2e23b7f2e"
  apikey: ""
  mchid: "1639465742"

#支付配置
pay:
  pay-call-back: "https://tmedical.pet-dbc.cn/vip/callBack"
  unified-order: "https://tpay.pet-dbc.cn/v1/pay/unified_order"

ipaddr:
  url: "https://ipaddquery.market.alicloudapi.com/ip/address-query"
  appkey: "203818254"
  appsecret: "Po6a0U5awkWFeXCBmfYyezJdhI7p7Xib"
  appcode: "6d1da9eb15b540688a505c1814e0c25f"