fix: 🐛 重置密码api路径调整

This commit is contained in:
ray
2024-08-28 00:45:40 +08:00
parent 4ae06bdccc
commit c6f669eef0

View File

@@ -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 },
});