添加json上传功能

This commit is contained in:
luying
2020-09-24 20:09:51 +08:00
parent 5392f0b861
commit e448704dc7
3 changed files with 94 additions and 14 deletions

View File

@@ -10,6 +10,7 @@ export default (app: Application) => {
router.post('/api/get_route', controller.login.getMenu);
router.get('/api/currentUser', tokenParser, controller.login.currentUser);
router.post('/api/upload/hotupdate', tokenParser, controller.upload.upload);
router.post('/api/upload/uploadjson', tokenParser, controller.upload.uploadJson);
router.post('/api/gmaccount/getgmlist', tokenParser, controller.gmaccount.getGmList);
router.post('/api/gmaccount/createaccount',tokenParser, controller.gmaccount.createGmAccount);