From a2b3d630af690ffc19976d70a25e84a90fb1b543 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Thu, 8 May 2025 15:08:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=99=BB=E5=BD=95=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=AE=9E=E7=8E=B01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/routes/auth.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/server/routes/auth.js b/server/routes/auth.js index dcb31e3..1b4189e 100644 --- a/server/routes/auth.js +++ b/server/routes/auth.js @@ -19,4 +19,13 @@ export const authRoutes = (app) => { } res.json(mockResponse) }) + app.post(`${baseUrl}/logout`, (req, res) => { + // const { username, password } = req.body + const mockResponse = { + code: '0', + msg: '成功', + data: null, + } + res.json(mockResponse) + }) }