Page History

Getsubscriptionnumbers

Last edited by 徐近程

返回

获取标签对应的公众号订阅列表


URL: http://apiwjjtest.cnlive.com/Daren/group/getSubscriptionNumbers.action


请求方式: HTTP GET


请求参数说明:

参数名 参数类型 必选 参数说明
tags String true 标签(形式 1,2,3)
sid String true 用户sid

返回格式: JSON


返回格式样例:

{
    "data": [
        {
            "id": "1",
            "name": "第三个",
            "spMsgBeans": [
                {
                    "description": "不为岁月流逝蹉跎 不随潮流的是否附和",
                    "enableFollow": true,
                    "enableGroup": "0",
                    "fans": 9,
                    "group_type": true,
                    "icon": "https://wjjtest.ys2.cnliveimg.com/802/img_new/1554343140260.png",
                    "id": "0",
                    "im_groupId": "cnlive_groupId_0",
                    "name": "不和贪婪的人相对 不为薄情寡义的人流泪",
                    "ownerId": "10506286",
                    "tags": "1,10"
                },
                {
                    "description": "",
                    "enableFollow": true,
                    "enableGroup": "0",
                    "fans": 8,
                    "group_type": true,
                    "icon": "https://wjj.ys1.cnliveimg.com/769/img/2018/0129/627290726994914918.png",
                    "id": "604",
                    "im_groupId": "grouop123",
                    "name": "视讯中国",
                    "ownerId": "123456",
                    "tags": "1,2,3"
                }
            ]
        },
        {
            "id": "2",
            "name": "大象",
            "spMsgBeans": [
                {
                    "description": "",
                    "enableFollow": true,
                    "enableGroup": "0",
                    "fans": 8,
                    "group_type": true,
                    "icon": "https://wjj.ys1.cnliveimg.com/769/img/2018/0129/627290726994914918.png",
                    "id": "604",
                    "im_groupId": "grouop123",
                    "name": "视讯中国",
                    "ownerId": "123456",
                    "tags": "1,2,3"
                }
            ]
        },
        {
            "id": "3",
            "name": "墙上的向日葵",
            "spMsgBeans": [
                {
                    "description": "",
                    "enableFollow": true,
                    "enableGroup": "0",
                    "fans": 8,
                    "group_type": true,
                    "icon": "https://wjj.ys1.cnliveimg.com/769/img/2018/0129/627290726994914918.png",
                    "id": "604",
                    "im_groupId": "grouop123",
                    "name": "视讯中国",
                    "ownerId": "123456",
                    "tags": "1,2,3"
                },
                {
                    "description": "好看112",
                    "enableFollow": true,
                    "enableGroup": "0",
                    "fans": 7,
                    "group_type": true,
                    "icon": "https://wjj.ys1.cnliveimg.com/769/img/2018/0129/627290726994914918.png",
                    "id": "112",
                    "im_groupId": "grouop112",
                    "name": "名字112",
                    "ownerId": "123112",
                    "tags": "3"
                },
                {
                    "description": "好看111",
                    "enableFollow": true,
                    "enableGroup": "0",
                    "fans": 2,
                    "group_type": false,
                    "icon": "https://wjj.ys1.cnliveimg.com/769/img/2018/0129/627290726994914918.png",
                    "id": "111",
                    "im_groupId": "grouop111",
                    "name": "名字111",
                    "ownerId": "123111",
                    "tags": "3"
                }
            ]
        },
        {
            "id": "4",
            "name": "山阴路的夏天",
            "spMsgBeans": [
                {
                    "description": "有谁能够了解作舞女的悲哀",
                    "enableFollow": false,
                    "enableGroup": "0",
                    "fans": 2,
                    "group_type": true,
                    "icon": "https://wjjtest.ys2.cnliveimg.com/802/img_new/1553679333248.jpg",
                    "id": "25",
                    "im_groupId": "cnlive_groupId_25",
                    "name": "新建一个sp名称",
                    "ownerId": "10513196",
                    "tags": "3,4"
                },
                {
                    "description": "好看3",
                    "enableFollow": false,
                    "enableGroup": "0",
                    "fans": 1,
                    "group_type": false,
                    "icon": "https://wjj.ys1.cnliveimg.com/769/img/2018/0129/627290726994914918.png",
                    "id": "124",
                    "im_groupId": "",
                    "name": "名字4",
                    "ownerId": "",
                    "tags": "4"
                }
            ]
        },
        {
            "id": "5",
            "name": "热河",
            "spMsgBeans": [
                {
                    "description": "好看",
                    "enableFollow": true,
                    "enableGroup": "0",
                    "fans": 0,
                    "group_type": true,
                    "icon": "https://yweb1.cnliveimg.com/open/image/userlogo/20170120/698ff181-2975-445b-8434-ee35c7ccfce3.png",
                    "id": "123",
                    "im_groupId": "grouop129",
                    "name": "名字3",
                    "ownerId": "",
                    "tags": "5"
                },
                {
                    "description": "好看9",
                    "enableFollow": false,
                    "enableGroup": "0",
                    "fans": 0,
                    "group_type": false,
                    "icon": "https://wjj.ys1.cnliveimg.com/769/img/2018/0129/627290726994914918.png",
                    "id": "126",
                    "im_groupId": "",
                    "name": "名字6",
                    "ownerId": "0",
                    "tags": "5"
                }
            ]
        },
        {
            "id": "6",
            "name": "定西",
            "spMsgBeans": []
        }
    ],
    "errorCode": "0",
    "errorMessage": "成功"
}

//sp是否有群(group_type为true并且ownerId有值)