feat:更新代码
This commit is contained in:
@@ -58,4 +58,13 @@ export function checkPwdStrength(password) {
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取用户头像
|
||||
export function getAvatarsApi(name) {
|
||||
return request({
|
||||
url: `/api/v1/avatars/username/${name}/200`,
|
||||
method: 'get',
|
||||
responseType: 'blob'
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user