Logo
1号公社 API Documentation

公社首页

POST http://127.0.0.1:10003/one/commune/index

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
user
number




RESPONSES

status OK

{ "code": 200, "message": "操作成功", "data": { "content": [ { "id": "123444", "name": "123444", "cover": "www.baidu.com", //封面地址 "introduce": "这是简介", "tags": ["官方"], "status": 1, // 0未加入 1已加入 "groups": [ { "id": "123444", //当id=0时,代表这个频道还未分组 "name":"分组名称", "channels": [ { "id": "123444", "name":"频道名称", "introduce": "这是简介", "type":1, //1公告频道 2论坛频道 3社群频道 "subType":1 //副类型 1-1微信服务号 1-2活动 1-3文章 1-4网站 } ] } ] } ], "total": "1", "pageNo": "1", "pageSize": "4" } }



Curl
curl -X POST 'http://127.0.0.1:10003/one/commune/index' -H 'user: 1100' -d '{"communeId":"123444"}'

ENDPOINTS