fix: main avatar page

This commit is contained in:
zzc
2026-01-28 23:40:10 +08:00
parent adb5f00988
commit 17f5b62ef0
2 changed files with 24 additions and 4 deletions

View File

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