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.

10 lines
289 B

11 months ago
/**
* @param {Egg.Application} app - egg application
*/
module.exports = app => {
const { router, controller } = app;
11 months ago
router.post('/api/upload', controller.user.index);
11 months ago
router.post('/api/download', controller.user.download);
11 months ago
router.get('/api/getPng', controller.user.getPng);
11 months ago
};