config.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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: /Users/zk/work/cc
  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: 1.116.188.224:3306
  47. config: charset=utf8mb4&parseTime=True&loc=Local
  48. db-name: cc_info
  49. username: root
  50. password: 41051459cb7fb12d
  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: 2
  65. addr: n.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: wx0dc3e4978f919285
  89. secret: fdf155c29d4f6bfb104efdfcd9e99a52
  90. wxid: wx66e0fbb5a735bcc4
  91. wxkey: 6d9a776f8f7a485db4b1813be8c6891e
  92. zap:
  93. level: info
  94. format: json
  95. prefix: '[cc]'
  96. director: log
  97. link-name: latest.log
  98. showLine: true
  99. encode-level: LowercaseColorLevelEncoder
  100. stacktrace-key: stacktrace
  101. log-in-console: true