{"size": 313, "ext": "js", "max_stars_repo_path": "router/qiniu.js", "max_stars_repo_name": "wujihua118/express-api-server", "max_stars_repo_stars_event_min_datetime": "2021-11-17T15:24:35.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-10T08:42:35.000Z", "max_issues_repo_path": "router/qiniu.js", "max_issues_repo_name": "wujihua118/express-api-server", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "router/qiniu.js", "max_forks_repo_name": "wujihua118/express-api-server", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.5625, "max_line_length": 77, "alphanum_fraction": 0.6932907348}
const express = require('express')
const router = express.Router()

const auth = require('../utils/auth')

const { findAll, upload, remove } = require('../controller/qiniu.controller')


router.get('/', findAll)

router.post('/upload', auth, upload)

router.delete('/:key', auth, remove)

module.exports = router
