feat: add QQLogin

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

No files matched your search

+2 -1
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 };