## 获得某个id下的child
/**
* 获得某个id下的child
* @http_method get
* @param id 父级id
* @author 孙泉
* @return array
*/
+++
get:/Goodscategory/customChildAll
<<<
success
{
"errcode": 0,
"errmsg": "操作成功",
"list": [
{
"id": 21,
"title": "厨卫",
"pid": 2,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 1,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20161214/12886148170542912886.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
{
"id": 618,
"title": "厨卫挂件",
"pid": 21,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/79601148764599779601.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 617,
"title": "浴霸/换气扇",
"pid": 21,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/69924148764595169924.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 616,
"title": "智能马桶盖",
"pid": 21,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/46180148764589346180.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 615,
"title": "马桶",
"pid": 21,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/28783148764586528783.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 614,
"title": "浴缸",
"pid": 21,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/91021148764578491021.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 613,
"title": "沐浴房",
"pid": 21,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/29687148764609029687.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 454,
"title": "沐浴桶",
"pid": 21,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/36265148764584036265.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 453,
"title": "水槽/龙头",
"pid": 21,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/86841148764573786841.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 452,
"title": "淋浴花洒",
"pid": 21,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/14542148764571814542.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
}
]
},
{
"id": 17,
"title": "灯具",
"pid": 2,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 2,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/99313148764526999313.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 10,
"ad_position_id": 0,
"banner": "",
"_child": [
{
"id": 624,
"title": "LED灯泡",
"pid": 17,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/16567148764558516567.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 623,
"title": "节能灯泡",
"pid": 17,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/80688148764556580688.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 622,
"title": "筒灯/射灯",
"pid": 17,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/73448148764551873448.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 621,
"title": "室外/庭院灯",
"pid": 17,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/56334148764540356334.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 620,
"title": "落地灯",
"pid": 17,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/41269148764532841269.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 619,
"title": "壁灯",
"pid": 17,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/23543148764529623543.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 29,
"title": "吊灯",
"pid": 17,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/53563148764561053563.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 6,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 28,
"title": "吸顶灯",
"pid": 17,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/14202148764563314202.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 27,
"title": "台灯",
"pid": 17,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/91375148764565791375.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
}
]
},
{
"id": 599,
"title": "家装主材",
"pid": 2,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 3,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/99934148764499299934.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
{
"id": 612,
"title": "涂刷辅料",
"pid": 599,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/24795148764498224795.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 611,
"title": "壁纸",
"pid": 599,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/17630148764523217630.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 610,
"title": "油漆涂料",
"pid": 599,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/60732148764518460732.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 609,
"title": "地板",
"pid": 599,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/29047148764548329047.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 608,
"title": "瓷砖",
"pid": 599,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/50819148764501850819.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
}
]
},
{
"id": 597,
"title": "五金电工",
"pid": 2,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 4,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/25941148764463425941.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
{
"id": 607,
"title": "配电箱/断路器",
"pid": 597,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/68601148764483668601.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 606,
"title": "监控安防",
"pid": 597,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/71432148764481171432.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 605,
"title": "门铃",
"pid": 597,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/22414148764479322414.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 604,
"title": "测量工具",
"pid": 597,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/15614148764476715614.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 603,
"title": "手动工具",
"pid": 597,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/12276148764473912276.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 602,
"title": "电动工具",
"pid": 597,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/51778148764471651778.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 601,
"title": "锁具",
"pid": 597,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/70128148764469270128.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
},
{
"id": 600,
"title": "开关插座",
"pid": 597,
"keywords": "",
"description": "",
"show_in_nav": 0,
"grade": "",
"status": 1,
"sort": 999,
"img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/89329148764466589329.jpg",
"url": "",
"level": 0,
"admin_open": 0,
"type_id": 0,
"ad_position_id": 0,
"banner": "",
"_child": [
]
}
]
}
]
}
<<<
error
这里填写错误的返回码
以此类推,每个状态使用 <<< 分割,
第一行添加状态名称
+++
- 序言
- 基础
- 下载安装
- 开发规范
- 目录结构
- 配置
- 定时任务
- 后台接口
- 统计
- 总数统计
- 月销售额
- 月订单量
- 客户增量
- 新增客户消费
- 销售统计查询
- 配置
- 分组列表
- 分组新增
- 分组修改
- 分组详情
- 配置搜索
- 配置新增
- 配置修改
- 配置详情
- 配置删除
- 配置批量修改
- 相册
- 获得相册列表
- 添加相册
- 修改相册
- 相册图片
- 获得相册图片列表
- 添加相册图片
- 修改相册图片
- 删除相册图片
- 获得相册图片详情
- 报表
- 成员
- 登陆
- 添加
- 修改
- 禁止/开启
- 搜索
- 详情
- 退出
- 刷新token
- 修改密码
- 修改自己的密码
- 删除
- 角色
- 角色列表
- 角色授权
- 角色组内成员
- 角色新增
- 角色修改
- 角色组删除
- 角色组详情
- 节点列表
- 节点添加
- 节点修改
- 节点删除
- 节点详情
- 节点排序
- 组内成员修改
- 商品
- 商品查询
- 商品详情(修改)
- 商品修改
- 商品excel导出
- 商品详情(创建)
- 商品创建
- 删除商品
- 商品违规下架
- 商品上架
- 商品下架
- 商品分类
- 商品分类搜索
- 商品分类添加
- 商品分类修改
- 商品分类删除
- 商品分类详情
- 订单
- 订单搜素
- 订单excel导出
- 订单详情
- 运费模板
- 运费模板创建
- 运费模板修改
- 运费模板删除
- 运费模板详情
- 地区
- 地区搜索
- 地区开通或取消开通
- 地区热门或取消热门
- 评价
- 评价搜索
- 评价回复
- 评价状态修改
- 售后(退款\退款退货)
- 退款 退款退货列表
- 退款 退款退货详情
- 退款 退款退货编辑
- 退款退货的订单
- 退款退货的订单收货
- 退款 退款退货退款
- 退款\退款退货原因详情
- 退款\退款退货原因列表
- 退款\退款退货原因添加
- 退款\退款退货原因修改
- 退款\退款退货原因删除
- 发货
- 新增地址
- 修改地址
- 删除地址
- 地址列表
- 地址详情
- 默认地址
- 物流公司
- 物流公司修改
- 发货列表
- 发货详情
- 设置发货
- 发货地址列表
- 发货地址选择
- 物流查询
- 版本控制
- 版本搜索
- 版本添加
- 版本修改
- 版本删除
- 图文
- 添加
- 修改
- 删除
- 搜索
- 微信公众平台
- 模板管理
- 微信商城
- 微信小程序
- 上传
- 上传图片
- 接口
- 公用接口
- 日志接口
- 日志分析
- 特殊定制
- 首页一级分类级下所有商品
- 二进制上传图片
- 头部信息
- 测试接口
- app推送测试
- 发送优惠券
- 微信JSSDK
- 获得微信openid
- 获得微信code
- 广告
- 广告列表
- 商品
- 商品详情
- 商品评价
- 商品列表
- 热搜关键词列表
- 历史搜索记录
- app webview
- 凑单条件
- 凑单列表
- 获得某个分类信息和分类下产品
- 浏览过的商品记录
- 根据推荐条件进行搜索商品列表
- 一级商品分类及下面产品
- 推荐商品信息
- 商品分类
- 树形结构
- 获得某个id下的子
- 获得某个id下的child
- 购物车
- 购物车添加
- 购物车更新
- 购物车删除
- 购物车清空
- 提交购物信息
- 创建订单1
- 创建订单2
- 购物车列表
- 收货地址
- 买家设置默认收货地址
- 获得默认收货地址
- 获取地址详情
- 买家收货地址列表
- 添加收货地址
- 修改收货地址
- 删除收货地址
- 收银台
- 确认提交支付
- 通知
- 优惠券通知
- 发货通知
- 退款通知
- 广告通知
- 更改用户消息状态
- 消息分组列表
- 地区
- 获取子信息
- 获得省和市
- 获得省和市和区县
- 城市列表
- 此项目定制的街道接口
- 热门城市
- 订单
- 订单列表
- 订单详情
- 修改订单状态
- 订单状态数量
- 对订单进行整体评价
- 对订单商品进行评价
- 判断某条商品是否被评价
- 对订单和订单商品进行整体评价
- 评价图片上传
- 获得订单商品的信息
- 用户
- 账号登录
- app第三方开放接口登陆
- app绑定第三方用户
- 绑定手机号
- 商品收藏列表
- 我的邀请函
- 微信授权登陆
- 个人中心混合的各种状态数量
- 添加我的推荐人
- 手机解绑微信
- 微信解绑手机
- 是否允许添加邀请人
- 查询我的邀请人
- 手机绑定微信,根据用户的微信code
- 意见反馈
- 建议分类列表
- 意见反馈添加
- 意见反馈历史记录
- 退款
- 申请退款\退款退货时页面的数据
- 订单商品部分退款
- 退款记录
- 退款记录详情
- 添加退货快递单号
- 撤销退款
- 预存款
- 充值添加
- 充值列表
- 查看充值详细
- 删除充值记录
- 预存款日志
- 申请提现
- 提现列表
- 提现记录详细
- 推荐
- 推荐列表
- 发票
- 买家设置默认发票
- 获得默认发票
- 获取发票详情
- 买家发票列表
- 添加新的发票
- 修改发票信息
- 买家删除发票
- 发票消费类型列表
- 文章
- 文章列表
- 新闻详情
- app webview
- 优惠券
- 优惠券列表
- 领取优惠券
- 我的优惠券
- 支付
- 单独获得支付方式列表
- 版本控制
- app是否更新
- 接口配置
- 充值
- 预存款充值面额列表
- 后台
- 界面要求
- 表格列表要求
- 添加修改要求
- 列表搜索
- 后台标签
- WebView内置方法
- 钢琴接口
- 曲库列表
- 曲库详情
- 教材列表
- 教材详情
- 作业
- 试听
- 家长
- 创建家长
- 修改家长
- 删除家长
- 家长信息
- 家长筛选
- 学生
- 创建学生
- 修改学生
- 学生信息
- 前端
- 修改资料
- 我的作业
- 作业上传
- 作业详情
- 修改密码
- 试听课
- 调查问券
- 后端
- 作业筛选
- 作业修改
- 作业详情
- 作业删除
- 作业添加,测试用
- 试听课
- 调查问券
- 老师
- 课程
- 报名
- 排课
- 修改密码
- 课程表
- 小程序