123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- # Gin-Vue-Admin Global Configuration
- # casbin configuration
- casbin:
- model-path: './resource/rbac_model.conf'
- # jwt configuration
- jwt:
- signing-key: 'qmPlus'
- # mysql connect configuration
- mysql:
- username: root
- password: 'xxxxx'
- path: 'xxxxxx:3306'
- db-name: 'qmPlus'
- config: 'charset=utf8&parseTime=True&loc=Local'
- max-idle-conns: 10
- max-open-conns: 10
- log-mode: false
- #sqlite 配置
- sqlite:
- path: db.db
- log-mode: true
- config: 'loc=Asia/Shanghai'
- # oss configuration
- qiniu:
- access-key: '25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ'
- secret-key: 'pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY'
- bucket: 'qm-plus-img'
- img-path: 'http://qmplusimg.henrongyi.top'
- # redis configuration
- redis:
- addr: '127.0.0.1:6379'
- password: ''
- db: 0
- # system configuration
- system:
- use-multipoint: false
- env: 'public' # Change to "develop" to skip authentication for development mode
- addr: 8888
- db-type: "mysql" # support mysql/sqlite
- # captcha configuration
- captcha:
- key-long: 6
- img-width: 240
- img-height: 80
- # logger configuration
- log:
- prefix: '[GIN-VUE-ADMIN]'
- log-file: true
- stdout: 'DEBUG'
- file: 'DEBUG'
- # operation configuration
- operation:
- skip_paths:
- - '/base/login'
- - '/base/register'
- - '/sysOperationRecord/getSysOperationRecordList'
|