🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 获得某个id下的子 /** * 获得某个id下的子 * @http_method get * @param id 父级id * @author 孙泉 * @return array */ +++ get:/Goodscategory/son <<< success { "errcode": 0, "errmsg": "操作成功", "list": [ { "id": 21, "title": "厨卫", "pid": 2, "img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20161214/12886148170542912886.jpg" }, { "id": 17, "title": "灯具", "pid": 2, "img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/99313148764526999313.jpg" }, { "id": 599, "title": "家装主材", "pid": 2, "img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/99934148764499299934.jpg" }, { "id": 597, "title": "五金电工", "pid": 2, "img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170221/25941148764463425941.jpg" } ], "level": 1 } <<< error 这里填写错误的返回码 以此类推,每个状态使用 <<< 分割, 第一行添加状态名称 +++