You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.5 KiB

  1. # Gin-Vue-Admin Global Configuration
  2. # casbin configuration
  3. casbin:
  4. model-path: './resource/rbac_model.conf'
  5. # jwt configuration
  6. jwt:
  7. signing-key: 'qmPlus'
  8. # mysql connect configuration
  9. mysql:
  10. username: root
  11. password: 'Aa@6447985'
  12. path: '127.0.0.1:3306'
  13. db-name: 'qmPlus'
  14. config: 'charset=utf8&parseTime=True&loc=Local'
  15. max-idle-conns: 10
  16. max-open-conns: 10
  17. log-mode: false
  18. #sqlite 配置
  19. sqlite:
  20. path: db.db
  21. log-mode: true
  22. config: 'loc=Asia/Shanghai'
  23. # oss configuration
  24. # 请自行七牛申请对应的 公钥 私钥 bucket 和 域名地址
  25. qiniu:
  26. access-key: '25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ'
  27. secret-key: 'pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY'
  28. bucket: 'qm-plus-img'
  29. img-path: 'http://qmplusimg.henrongyi.top'
  30. # redis configuration
  31. redis:
  32. addr: '127.0.0.1:6379'
  33. password: ''
  34. db: 0
  35. # system configuration
  36. system:
  37. use-multipoint: false
  38. env: 'public' # Change to "develop" to skip authentication for development mode
  39. addr: 8888
  40. db-type: "mysql" # support mysql/sqlite
  41. # captcha configuration
  42. captcha:
  43. key-long: 6
  44. img-width: 240
  45. img-height: 80
  46. # logger configuration
  47. log:
  48. prefix: '[GIN-VUE-ADMIN]'
  49. log-file: true
  50. stdout: 'DEBUG'
  51. file: 'DEBUG'
  52. # operation record configuration
  53. operation:
  54. skip-paths:
  55. - '/base/login'
  56. - '/base/register'
  57. - '/sysOperationRecord/getSysOperationRecordList'
  58. - '/sysOperationRecord/deleteSysOperationRecord'