feat: add QQLogin

This commit is contained in:
手瓜一十雪
2024-05-07 22:51:43 +08:00
parent a9a28c8d13
commit 5c406d0447
2 changed files with 55 additions and 1 deletions

View File

@@ -1,8 +1,9 @@
import { Router } from 'express';
import { LoginHandler, LogoutHandler } from '../api/Auth';
import { LoginHandler, LogoutHandler, checkHandler } from '../api/Auth';
const router = Router();
router.post('/login', LoginHandler);
router.post('/check', checkHandler);
router.post('/logout', LogoutHandler);
export { router as AuthRouter };