~~~[api]
post:/api.php/green/orderbigcategory/tree
<<<
success
{
"code": 200,
"msg": "ok",
"data": [{
"id": 1,
"name": "\u5546\u4e1a\u56de\u6536",
"pid": 0,
"sort": 5,
"childs": [{
"id": 43,
"name": "\u8fdb\u53e3\u9152\u74f6",
"pid": 1,
"sort": 1,
"childs": []
}, {
"id": 45,
"name": "\u6ede\u9500\u5e93\u5b58",
"pid": 1,
"sort": 1,
"childs": []
}, {
"id": 50,
"name": "\u7535\u5b50\u7535\u5668",
"pid": 1,
"sort": 1,
"childs": []
}, {
"id": 53,
"name": "\u6c7d\u7535\u6469\u914d",
"pid": 1,
"sort": 1,
"childs": []
}]
}, {
"id": 12,
"name": "\u5de5\u4e1a\u5e9f\u54c1",
"pid": 0,
"sort": 1,
"childs": [{
"id": 17,
"name": "\u7535\u6c60",
"pid": 12,
"sort": 1,
"childs": []
}, {
"id": 18,
"name": "\u9a6c\u8fbe",
"pid": 12,
"sort": 1,
"childs": []
}, {
"id": 19,
"name": "\u53d8\u538b\u5668",
"pid": 12,
"sort": 1,
"childs": []
}, {
"id": 20,
"name": "\u7535\u7f06",
"pid": 12,
"sort": 1,
"childs": []
}]
}, {
"id": 14,
"name": "\u6709\u5bb3\u5e9f\u7269",
"pid": 0,
"sort": 6,
"childs": [{
"id": 48,
"name": "\u53a8\u623f\u5783\u573e",
"pid": 14,
"sort": 1,
"childs": []
}, {
"id": 49,
"name": "\u5395\u6240\u5783\u573e",
"pid": 14,
"sort": 1,
"childs": []
}]
}, {
"id": 25,
"name": "\u751f\u6d3b\u5e9f\u54c1",
"pid": 0,
"sort": 0,
"childs": [{
"id": 8,
"name": "\u5e9f\u94dc",
"pid": 25,
"sort": 8,
"childs": []
}, {
"id": 9,
"name": "\u5e9f\u7eb8",
"pid": 25,
"sort": 7,
"childs": []
}, {
"id": 10,
"name": "\u5851\u6599",
"pid": 25,
"sort": 6,
"childs": []
}, {
"id": 15,
"name": "\u5e9f\u94c1",
"pid": 25,
"sort": 8,
"childs": []
}, {
"id": 16,
"name": "\u5e9f\u94dd",
"pid": 25,
"sort": 8,
"childs": []
}, {
"id": 21,
"name": "\u624b\u673a",
"pid": 25,
"sort": 9,
"childs": []
}, {
"id": 22,
"name": "\u7535\u8111",
"pid": 25,
"sort": 9,
"childs": []
}, {
"id": 26,
"name": "\u51b0\u7bb1",
"pid": 25,
"sort": 9,
"childs": []
}, {
"id": 27,
"name": "\u7535\u89c6",
"pid": 25,
"sort": 9,
"childs": []
}, {
"id": 33,
"name": "\u8f66\u7c7b",
"pid": 25,
"sort": 10,
"childs": []
}, {
"id": 34,
"name": "\u5e9f\u94a2",
"pid": 25,
"sort": 8,
"childs": []
}, {
"id": 38,
"name": "\u73bb\u7483",
"pid": 25,
"sort": 11,
"childs": []
}, {
"id": 39,
"name": "\u6d17\u8863\u673a",
"pid": 25,
"sort": 9,
"childs": []
}, {
"id": 40,
"name": "\u70ed\u6c34\u5668",
"pid": 25,
"sort": 9,
"childs": []
}, {
"id": 41,
"name": "\u7a7a\u8c03",
"pid": 25,
"sort": 9,
"childs": []
}, {
"id": 42,
"name": "\u5c0f\u5bb6\u7535",
"pid": 25,
"sort": 10,
"childs": []
}, {
"id": 54,
"name": "\u8863\u7269",
"pid": 25,
"sort": 10,
"childs": []
}]
}, {
"id": 28,
"name": "\u5efa\u7b51\u5e9f\u54c1",
"pid": 0,
"sort": 3,
"childs": [{
"id": 46,
"name": "\u7816\u5934",
"pid": 28,
"sort": 1,
"childs": []
}, {
"id": 47,
"name": "\u6c34\u6ce5",
"pid": 28,
"sort": 1,
"childs": []
}, {
"id": 51,
"name": "\u677f\u6750",
"pid": 28,
"sort": 1,
"childs": []
}, {
"id": 52,
"name": "\u74f7\u7816",
"pid": 28,
"sort": 1,
"childs": []
}]
}, {
"id": 36,
"name": "\u4f01\u4e1a\u5e9f\u54c1",
"pid": 0,
"sort": 1,
"childs": [{
"id": 35,
"name": "\u529e\u516c\u8bbe\u5907",
"pid": 36,
"sort": 1,
"childs": []
}]
}]
}
<<<
error
~~~