This commit is contained in:
zlwu committed 2026-09-28 10:49:53 +08:00
1 parent b9b4cc2673
commit 4928e00423
28 files changed
+12299 -11102

No files matched your search

+2 -2
View File
@@ -185,9 +185,9 @@ export function fetchDeleteUser(id: string) {
}
export function fetchResetPassword(id: string) {
return request.post({
return request.post<{ tempPassword: string }>({
url: `/web/admin/users/${id}/reset-password`,
showSuccessMessage: true
showSuccessMessage: false
})
}
+1 -1
View File
@@ -164,7 +164,7 @@ export function fetchRefreshToken(refreshToken: string) {
expiresIn: number
}>({
url: '/web/auth/refresh-token',
params: { refreshToken }
data: { refreshToken }
})
}