config.yaml 1.9 KB
Newer Older
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1 2 3 4 5 6 7
aliyun-oss:
  endpoint: yourEndpoint
  access-key-id: yourAccessKeyId
  access-key-secret: yourAccessKeySecret
  bucket-name: yourBucketName
  bucket-url: yourBucketUrl
  base-path: yourBasePath
8
autocode:
9
  transfer-restart: true
Mr.奇淼('s avatar
Mr.奇淼( 已提交
10
  root: E:\gin-vue-admin
11
  server: /server
Mr.奇淼('s avatar
Mr.奇淼( 已提交
12
  server-api: /api/v1/autocode
13
  server-initialize: /initialize
Mr.奇淼('s avatar
Mr.奇淼( 已提交
14 15 16 17
  server-model: /model/autocode
  server-request: /model/autocode/request/
  server-router: /router/autocode
  server-service: /service/autocode
18 19 20 21
  web: /web/src
  web-api: /api
  web-form: /view
  web-table: /view
Mr.奇淼('s avatar
Mr.奇淼( 已提交
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
  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: 604800
  buffer-time: 86400
local:
  path: uploads/file
mysql:
  path: 127.0.0.1:3306
  config: charset=utf8mb4&parseTime=True&loc=Local
  db-name: gva
  username: root
  password: Aa@6447985
  max-idle-conns: 0
  max-open-conns: 0
  log-mode: ""
  log-zap: false
Mr.奇淼('s avatar
Mr.奇淼( 已提交
55
qiniu:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
56 57 58
  zone: ZoneHuaDong
  bucket: ""
  img-path: ""
Mr.奇淼('s avatar
Mr.奇淼( 已提交
59
  use-https: false
Mr.奇淼('s avatar
Mr.奇淼( 已提交
60 61
  access-key: ""
  secret-key: ""
Mr.奇淼('s avatar
Mr.奇淼( 已提交
62
  use-cdn-domains: false
Mr.奇淼('s avatar
Mr.奇淼( 已提交
63 64 65 66 67 68 69 70 71 72
redis:
  db: 0
  addr: 127.0.0.1:6379
  password: ""
system:
  env: public
  addr: 8888
  db-type: mysql
  oss-type: local
  use-multipoint: false
M
MUHM 已提交
73
tencent-cos:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
74 75 76 77 78 79 80
  bucket: xxxxx-10005608
  region: ap-shanghai
  secret-id: xxxxxxxx
  secret-key: xxxxxxxx
  base-url: https://gin.vue.admin
  path-prefix: gin-vue-admin
timer:
Q
qinmin328 已提交
81
  start: true
Mr.奇淼('s avatar
Mr.奇淼( 已提交
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
  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