完成修改密码删除用户
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import fetcher from "../../fetcher";
|
||||
|
||||
export async function setPassword(userId: string, password: string) {
|
||||
return fetcher(`/admin/user/${userId}/password`, {
|
||||
return fetcher(`/api/admin/user/${userId}/password`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
password,
|
||||
|
||||
Reference in New Issue
Block a user