API DocsAPI Docs
get/api/profile/avatar/{userId}
get/api/profile/avatar/{userId}
获取用户头像
Basic Information
Request Method:
get
Request URL:
https://abit.fun/api/profile/avatar/{userId}
Tags:
用户资料
Description
根据用户ID获取用户的头像图片
Path Parameters
Path Parameters Explanation
Path parameters are variables in the URL path, for example:
https://abit.fun/api/profile/avatar/:userId
Parameter Name | Type | Required | Example Value | Description |
---|---|---|---|---|
userId | string | Required | example | 用户ID |
Response Example
200成功获取头像
404头像未找到
500