config.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. aliyun-oss:
  2. endpoint: yourEndpoint
  3. access-key-id: yourAccessKeyId
  4. access-key-secret: yourAccessKeySecret
  5. bucket-name: yourBucketName
  6. bucket-url: yourBucketUrl
  7. base-path: yourBasePath
  8. autocode:
  9. transfer-restart: true
  10. root: C:\Users\ice\GolandProjects\gin-vue-admin
  11. server: /server
  12. server-api: /api/v1/autocode
  13. server-initialize: /initialize
  14. server-model: /model/autocode
  15. server-request: /model/autocode/request/
  16. server-router: /router/autocode
  17. server-service: /service/autocode
  18. web: /web/src
  19. web-api: /api
  20. web-form: /view
  21. web-table: /view
  22. web-flow: /view
  23. captcha:
  24. key-long: 6
  25. img-width: 240
  26. img-height: 80
  27. casbin:
  28. model-path: ./resource/rbac_model.conf
  29. email:
  30. to: [email protected]
  31. port: 465
  32. from: [email protected]
  33. host: smtp.163.com
  34. is-ssl: true
  35. secret: xxx
  36. nickname: test
  37. excel:
  38. dir: ./resource/excel/
  39. jwt:
  40. signing-key: qmPlus
  41. expires-time: 604800
  42. buffer-time: 86400
  43. local:
  44. path: uploads/file
  45. mysql:
  46. path: gl.zk1006.com:3306
  47. config: charset=utf8mb4&parseTime=True&loc=Local
  48. db-name: cc_info
  49. username: cc_info
  50. password: hM2awMhfAbFnmrdd
  51. max-idle-conns: 0
  52. max-open-conns: 0
  53. log-mode: "info"
  54. log-zap: false
  55. qiniu:
  56. zone: ZoneHuaDong
  57. bucket: ""
  58. img-path: ""
  59. use-https: false
  60. access-key: ""
  61. secret-key: ""
  62. use-cdn-domains: false
  63. redis:
  64. db: 4
  65. addr: gl.zk1006.com:6379
  66. password: zk159256
  67. system:
  68. env: public
  69. addr: 8888
  70. db-type: mysql
  71. oss-type: tencent-cos
  72. use-multipoint: true
  73. tencent-cos:
  74. bucket: test-1251152718
  75. region: ap-guangzhou
  76. secret-id: AKIDkJbdNq2yd06wUllUw3tRiiRt3wYtynKa
  77. secret-key: 1lEQL0OUJsABuNYS5RYOxFH2VhcGdiW4
  78. base-url: https://test-1251152718.cos.ap-guangzhou.myqcloud.com
  79. path-prefix: imgs
  80. timer:
  81. start: true
  82. spec: '@daily'
  83. detail:
  84. - tableName: sys_operation_records
  85. compareField: created_at
  86. interval: 2160h
  87. wxxcx:
  88. appid: wx7817c69b22676b75
  89. secret: b51a8c120c461af12f516bb79ae450d7
  90. zap:
  91. level: info
  92. format: json
  93. prefix: '[cc]'
  94. director: log
  95. link-name: latest.log
  96. showLine: true
  97. encode-level: LowercaseColorLevelEncoder
  98. stacktrace-key: stacktrace
  99. log-in-console: true