fix: my info
This commit is contained in:
@@ -14,3 +14,11 @@ export const getUserInfo = async () => {
|
||||
method: "GET",
|
||||
});
|
||||
};
|
||||
|
||||
export const updateUserInfo = async (body) => {
|
||||
return request({
|
||||
url: "/api/user/info",
|
||||
method: "PUT",
|
||||
data: body,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user