config.yaml 3.41 KB
Newer Older
haoyanbin's avatar
1  
haoyanbin committed
1 2 3 4 5 6 7
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"
haoyanbin's avatar
1  
haoyanbin committed
8 9 10 11 12 13 14
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"
haoyanbin's avatar
1  
haoyanbin committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
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
haoyanbin's avatar
1  
haoyanbin committed
55 56 57
  db-name: dt_analysis
  username: root_shop
  password: DBC_shopqwe
haoyanbin's avatar
1  
haoyanbin committed
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
  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
haoyanbin's avatar
1  
haoyanbin committed
76
#127.0.0.1:6379  172.17.36.64:6379
haoyanbin's avatar
1  
haoyanbin committed
77
redis:
haoyanbin's avatar
1  
haoyanbin committed
78
  addr: 39.96.85.45:6382
haoyanbin's avatar
1  
haoyanbin committed
79 80 81 82 83 84
  password: saas123456
  db: 4
  pool_size: 200
  max_retries: 3
system:
  env: public
haoyanbin's avatar
1  
haoyanbin committed
85
  addr: 12001
haoyanbin's avatar
1  
haoyanbin committed
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
  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:
haoyanbin's avatar
1  
haoyanbin committed
101 102 103
    - tableName: sys_operation_records
      compareField: created_at
      interval: 2160h
haoyanbin's avatar
1  
haoyanbin committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117
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:
haoyanbin's avatar
1  
haoyanbin committed
118
  type: "2"
haoyanbin's avatar
1  
haoyanbin committed
119
  url: "dt.bk-pet.cn"
haoyanbin's avatar
1  
haoyanbin committed
120 121 122 123 124 125 126 127 128

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

haoyanbin's avatar
1  
haoyanbin committed
129
wx: # wx0e311bf538eec0a1 51e0e550569535352be0d0e3fbd21946  ! wxb8fe0ea4e5de5a24 24f0e0148693725a02102ec1eaccdb57
haoyanbin's avatar
1  
haoyanbin committed
130 131 132 133 134 135 136 137 138
  appid: "wxb8fe0ea4e5de5a24"
  appsecret: "e2a8ec3ef42d107ccb28a69fa5c6bc08"
  apikey: "dibaocheng20190410dibaocheng2019"
  mchid: "1542380391"
bkwx:
  appid: "wxd4fbb3f31eae7bf4"
  appsecret: "c8de5f6534c9e7bc205fa7e2e23b7f2e"
  apikey: ""
  mchid: "1639465742"
haoyanbin's avatar
1  
haoyanbin committed
139

haoyanbin's avatar
1  
haoyanbin committed
140 141
#支付配置
pay:
haoyanbin's avatar
1  
haoyanbin committed
142 143
  pay-call-back: "https://tmedical.pet-dbc.cn/vip/callBack"
  unified-order: "https://tpay.pet-dbc.cn/v1/pay/unified_order"
haoyanbin's avatar
1  
haoyanbin committed
144

haoyanbin's avatar
1  
haoyanbin committed
145 146 147 148 149
ipaddr:
  url: "https://ipaddquery.market.alicloudapi.com/ip/address-query"
  appkey: "203818254"
  appsecret: "Po6a0U5awkWFeXCBmfYyezJdhI7p7Xib"
  appcode: "6d1da9eb15b540688a505c1814e0c25f"