文档
测试

【我的】头部基本信息

GET
http://daduhui.mangotechdemo.com.au/webapi/UserGroups/GetUserTopInfo?userId=1

请求参数

参数名
类型
描述
必填
userId
long
当前登录用户UserId
必填

响应参数

参数名
类型
描述
必填
model
object
数据字典
必填
AvatarFileName
string
示例:20210109164702302.jpg;登录用户头像文件名
必填
AvatarUrl
string
示例:http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=20210109164702302.jpg&imgType=1;登录用户头像url
必填
NickName
string
示例:Hert;登录用户昵称
必填
SimpleIntroduction
object
示例:null;登录用户简介
必填
LocationAddress
object
示例:null;登录用户定位信息
必填
CreatedGroupCount
int
示例:0;登录用户创建的圈子数量
必填
JoinedGroupCount
int
示例:9;登录用户加入的圈子数量
必填
CollectedActicleCount
int
示例:0;登录用户收藏的文章数量
必填
CollectedPostCount
int
示例:1;登录用户收藏的帖子数量
必填
JoinedActivityCount
int
示例:2;登录用户参加的活动数量
必填
CollectedActivityCount
int
示例:0;登录用户收藏的活动数量
必填
code
int
0成功-1失败
必填
msg
string
错误代码
必填

说明 / 示例

返回结果示例: { "model": { "AvatarFileName": "20210109164702302.jpg", "AvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=20210109164702302.jpg&imgType=1", "NickName": "Hert", "SimpleIntroduction": null, "LocationAddress": null, "CreatedGroupCount": 0, "JoinedGroupCount": 9, "CollectedActicleCount": 0, "CollectedPostCount": 1, "JoinedActivityCount": 2, "CollectedActivityCount": 0 }, "code": 0, "msg": "获取成功" }