From c6f669eef0ed5b07cd1f53e02e7c35f45776058e Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Wed, 28 Aug 2024 00:45:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E9=87=8D=E7=BD=AE=E5=AF=86?= =?UTF-8?q?=E7=A0=81api=E8=B7=AF=E5=BE=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/user.ts b/src/api/user.ts index 4ade1e3d..d37eacfb 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -76,7 +76,7 @@ class UserAPI { */ static resetPassword(id: number, password: string) { return request({ - url: `${USER_BASE_URL}/${id}/password`, + url: `${USER_BASE_URL}/${id}/password/reset`, method: "put", params: { password: password }, });