文档
测试

获取所有圈子并判断选中

GET
http://daduhui.mangotechdemo.com.au/webapi/UserGroups/GetProGroups

请求参数

参数名
类型
描述
必填
userid
int
当前登录人id
必填
productid
int
产品id
必填
page
int
pageindex
必填
pagesize
int
pagesize
必填

说明 / 示例

{ "page": { "UserId": 1, "GroupId": null, "GroupName": null, "Title": null, "page": 1, "limit": 15, "count": 10, "pageCount": 1 }, "data": [ { "Id": 32, "GroupId": 32, //圈子id "GroupName": "测试圈子搜索头像展示",//圈子名称 "AvatarFileName": "20210121112237527.jpg", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=20210121112237527.jpg&imgType=2",//圈子头像 "UserCount": 1,//圈子里用户数 "Introduction": "测试",//简介 "TopAvatarUrls": [ //圈子里用户的头像 (数组多个) "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 0 //该产品是否被当前用户推广到该圈子 0 否 1 是 }, { "Id": 29, "GroupId": 29, "GroupName": "新增圈子测试", "AvatarFileName": "文件 logo_white.png", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=文件 logo_white.png&imgType=2", "UserCount": 1, "Introduction": "1. 关于疫情通告 2. 加入圈子以后,三天内可以退款,如有争议请参考《用户协议》 1. 付费后,你可以享受圈里面的所有内容 2. 加入圈子以后,三天内可以退款,如有争议请参考《用户协议》 关于技术和产品以及写作的讨论区,禁止广告和人生攻击。我会定期发一些自己的思考。思绪来去如风", "TopAvatarUrls": [ "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 0 }, { "Id": 28, "GroupId": 28, "GroupName": "新增圈子测试", "AvatarFileName": "文件 logo_white.png", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=文件 logo_white.png&imgType=2", "UserCount": 1, "Introduction": "1. 关于疫情通告 2. 加入圈子以后,三天内可以退款,如有争议请参考《用户协议》 1. 付费后,你可以享受圈里面的所有内容 2. 加入圈子以后,三天内可以退款,如有争议请参考《用户协议》 关于技术和产品以及写作的讨论区,禁止广告和人生攻击。我会定期发一些自己的思考。思绪来去如风", "TopAvatarUrls": [ "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 0 }, { "Id": 27, "GroupId": 27, "GroupName": "测试上传圈子头像2", "AvatarFileName": "20210120151126215.jpg", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=20210120151126215.jpg&imgType=2", "UserCount": 1, "Introduction": "1. 关于疫情通告 2. 加入圈子以后,三天内可以退款,如有争议请参考《用户协议》 1. 付费后,你可以享受圈里面的所有内容 2. 加入圈子以后,三天内可以退款,如有争议请参考《用户协议》 关于技术和产品以及写作的讨论区,禁止广告和人生攻击。我会定期发一些自己的思考。思绪来去如风", "TopAvatarUrls": [ "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 0 }, { "Id": 26, "GroupId": 26, "GroupName": "测试头像", "AvatarFileName": "20210120150019417.jpg", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=20210120150019417.jpg&imgType=2", "UserCount": 1, "Introduction": "测试", "TopAvatarUrls": [ "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 0 }, { "Id": 21, "GroupId": 21, "GroupName": "测试post2", "AvatarFileName": "123456789.jpg", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=123456789.jpg&imgType=2", "UserCount": 1, "Introduction": "圈子简介", "TopAvatarUrls": [ "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 0 }, { "Id": 20, "GroupId": 20, "GroupName": "测试post", "AvatarFileName": "123456789.jpg", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=123456789.jpg&imgType=2", "UserCount": 1, "Introduction": "圈子简介", "TopAvatarUrls": [ "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 0 }, { "Id": 11, "GroupId": 11, "GroupName": "家电", "AvatarFileName": "20210109165259694.jpg", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=20210109165259694.jpg&imgType=2", "UserCount": 1, "Introduction": "家电测试、家电转卖", "TopAvatarUrls": [ "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 1 }, { "Id": 6, "GroupId": 6, "GroupName": "演技派", "AvatarFileName": "20210109164702302.jpg", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=20210109164702302.jpg&imgType=2", "UserCount": 7, "Introduction": "最具实力演技的明星", "TopAvatarUrls": [ "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 0 }, { "Id": 1, "GroupId": 1, "GroupName": "冰淇淋圈子", "AvatarFileName": "20210109165454330.jpg", "GroupAvatarUrl": "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=20210109165454330.jpg&imgType=2", "UserCount": 8, "Introduction": "分享吃过的好吃的冰淇淋", "TopAvatarUrls": [ "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1", "http://daduhui.mangotechdemo.com.au/webapi/MediaApi/GetFileByFileNameType?fileName=random&imgType=1" ], "selected": 1 } ], "code": 0, "msg": "" }