fix: main avatar page
This commit is contained in:
10
api/mine.js
10
api/mine.js
@@ -28,3 +28,13 @@ export const getMyAvatar = async (page = 1) => {
|
||||
method: "GET",
|
||||
});
|
||||
};
|
||||
|
||||
export const userAvatarChange = async (imageUrl) => {
|
||||
return request({
|
||||
url: "/api/blessing/user/avatar/change",
|
||||
method: "POST",
|
||||
data: {
|
||||
imageUrl,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user