# Functions
@Summary 获取用户头像 @Description 获取用户头像接口 @Tags user @Accept json @Produce json @Success 200 {object} AvatorResponse "获取头像成功" @Failure 401 {object} AvatorResponse "名字解析出错" @Failure 500 {object} AvatorResponse "查询头像失败" @Router /auth/getavator [get].
@Summary 设置用户头像 @Description 设置用户头像接口 @Tags user @Accept json @Produce json @Param url body string true "头像 URL" @Success 200 {object} AvatorResponse "头像更新成功" @Failure 401 {object} AvatorResponse"名字解析出错" @Failure 500 {object} AvatorResponse "更新头像失败" @Router /auth/setavator [post].
# Structs
No description provided by the author