💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~[api] get://api.php *method=默认值#System.Goods.goodsCategoryListByParentId pid=默认值#说明文字 *private_key=默认值#若开启api安全,则api秘钥必须 <<< success { "code": 0, "message": "success", "data": [{ "category_id": 108, "category_name": "农药", "short_name": "121221", "pid": 1, "level": 2, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 0, "category_pic": "", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 1, "child_list": [{ "category_id": 151, "category_name": "除虫", "short_name": "除虫", "pid": 108, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 0, "category_pic": "http:\/\/stm.niuteam.cn\/upload\/goods_category\/2019111811201021538.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }] }, { "category_id": 156, "category_name": "厨卫小电", "short_name": "厨卫小电", "pid": 1, "level": 2, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 0, "category_pic": "upload\/goods_category\/2020031704275373137.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 1, "child_list": [{ "category_id": 157, "category_name": "电热锅", "short_name": "电热锅", "pid": 156, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 0, "category_pic": "", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }] }, { "category_id": 159, "category_name": "个护健康", "short_name": "个护健康", "pid": 1, "level": 2, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 0, "category_pic": "upload\/goods_category\/2020031704273421393.jpg", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 1, "child_list": [{ "category_id": 160, "category_name": "电吹风", "short_name": "电吹风", "pid": 159, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 0, "category_pic": "", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }, { "category_id": 161, "category_name": "剃须刀", "short_name": "剃须刀", "pid": 159, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 0, "category_pic": "", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }] }, { "category_id": 3, "category_name": "冰箱", "short_name": "冰箱", "pid": 1, "level": 2, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 2, "category_pic": "upload\/goods_category\/2020031704304165140.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 1, "child_list": [{ "category_id": 17, "category_name": "双开门", "short_name": "S", "pid": 3, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 1, "category_pic": "upload\/goods_category\/2019042005285729746.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }, { "category_id": 16, "category_name": "三开门", "short_name": "S", "pid": 3, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 2, "category_pic": "upload\/goods_category\/2019042005301115491.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }] }, { "category_id": 5, "category_name": "洗衣机", "short_name": "洗衣机", "pid": 1, "level": 2, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 3, "category_pic": "upload\/goods_category\/2020031704295777943.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 1, "child_list": [{ "category_id": 13, "category_name": "滚筒洗衣机", "short_name": "G", "pid": 5, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 1, "category_pic": "upload\/goods_category\/2019042005243959172.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }, { "category_id": 12, "category_name": "波轮洗衣机", "short_name": "B ", "pid": 5, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 2, "category_pic": "upload\/goods_category\/2019042005253451399.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }] }, { "category_id": 6, "category_name": "空调", "short_name": "J", "pid": 1, "level": 2, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 4, "category_pic": "upload\/goods_category\/2020031704292759483.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 1, "child_list": [{ "category_id": 11, "category_name": "空调挂机", "short_name": "k", "pid": 6, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 1, "category_pic": "upload\/goods_category\/2019042005074955610.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }, { "category_id": 10, "category_name": "空调柜机", "short_name": "g", "pid": 6, "level": 3, "is_visible": 1, "attr_id": 0, "attr_name": "", "keywords": "", "description": "", "sort": 2, "category_pic": "upload\/goods_category\/2019042005113303125.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }] }, { "category_id": 7, "category_name": "电视", "short_name": "电视", "pid": 1, "level": 2, "is_visible": 1, "attr_id": 1, "attr_name": "电视", "keywords": "", "description": "", "sort": 5, "category_pic": "upload\/goods_category\/2019042310045437262.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 1, "child_list": [{ "category_id": 9, "category_name": "全面屏", "short_name": "D", "pid": 7, "level": 3, "is_visible": 1, "attr_id": 1, "attr_name": "化妆品", "keywords": "", "description": "", "sort": 1, "category_pic": "upload\/goods_category\/2019042003315664038.png", "pc_custom_template": "", "wap_custom_template": "", "is_parent": 0 }] }], "title": "根据上级分类id获取商品分类列表" } <<< error {"code": -50, "message": "error", "data": {} } ~~~