1.获取某个分组的分类列表

接口

POST https://open.jisuapp.cn/business/Category/getcategorybygroup/

参数说明

Content-Type: application/x-www-form-urlencoded

参数 类型 必填 说明
access_token String Y 用户授权的唯一票据
group_id int Y 分组id
page int Y 页码

返回参数

参数 类型 说明
id int id
name string 名称
description string 描述
form string 对象英文标识
item array 分类信息
item.category_id int 分类id
item.group_id int 分组id
item.name string 分类名称
item.cover string logo
item.pid int 上级分类id
item.weight int 权重
item.subclass array 二级分类信息 同item

参数返回示例

{
    "status": 0,
    "data": {
        "id": "386",
        "name": "分组测试3",
        "description": "描述2",
        "form": "MqXSARTGay",
        "item": [
            {
                "category_id": "6103",
                "group_id": "386",
                "name": "分类11",
                "cover": "",
                "pid": "0",
                "weight": "2",
                "subclass": []
            },
            {
                "category_id": "6115",
                "group_id": "386",
                "name": "分类3",
                "cover": "",
                "pid": "0",
                "weight": "1",
                "subclass": [
                    {
                        "category_id": "6116",
                        "group_id": "386",
                        "name": "12121",
                        "cover": "https://img.zhichiwangluo.com/zcimgdir/album/file_5b836335be6d4.png",
                        "pid": "6115",
                        "weight": "0"
                    }
                ]
            }
        ]
    },
    "count": "2",
    "current_page": 1,
    "total_page": 1,
    "is_more": 0
}

results matching ""

    No results matching ""