后台:web-server连接数据库

This commit is contained in:
luying
2021-11-29 16:19:47 +08:00
parent 8c6c44bcde
commit cc819c48a7
11 changed files with 53 additions and 378 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ export default (app: Application) => {
router.post('/api/users/getuserlist',tokenParser, controller.users.getuserlist);
router.post('/api/users/createrole',tokenParser, controller.users.createRole);
router.post('/api/users/addauth', tokenParser, controller.users.addAuth);
// router.post('/api/users/createrole',tokenParser, controller.users.createRole);
// router.post('/api/users/addauth', tokenParser, controller.users.addAuth);
router.post('/api/users/fixsms', tokenParser, controller.users.fixSms);
router.post('/api/users/deleterole',tokenParser, controller.users.deleteRole);
router.post('/api/users/getrolelist',tokenParser, controller.users.getrolelist);