mirror of
https://github.com/PlayEdu/h5.git
synced 2025-12-25 23:59:35 +08:00
更换头像功能
This commit is contained in:
@@ -24,8 +24,6 @@ export function courses(depId: number, categoryId: number) {
|
||||
}
|
||||
|
||||
// 修改头像
|
||||
export function avatar(file: any) {
|
||||
return client.put("/api/v1/user/avatar", {
|
||||
file: file,
|
||||
});
|
||||
export function avatar(params: any) {
|
||||
return client.put("/api/v1/user/avatar", params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user