文档
测试

电子货架列表

GET
/api/tblCategory/tblCategoryList

接口描述

商品栏目集合

请求头

参数名
类型
描述
必填
token
String
终端身份验证必选参数
必填

请求参数

参数名
类型
描述
必填
tid
String
大屏终端的ID
必填

响应参数

参数名
类型
描述
必填
result
Object
返回数据容器
必填
catid
Long
栏目ID
必填
parentid
Long
上级ID
必填
catname
String
栏目名称
必填
children
[ ]
子对象集合
必填

说明 / 示例

{ "msg": "获取成功!", "result": [ { "catid": 1, "parentid": 0, "catname": "\t延缓衰老\t ", "catdesc": null, "cattype": 1, "cid": "1", "createtime": 1620604800000, "state": 1, "children": null }, { "catid": 37, "parentid": 0, "catname": "全身用抗感染药物", "catdesc": null, "cattype": 1, "cid": "1", "createtime": 1620919879000, "state": null, "children": [ { "catid": 87, "parentid": 37, "catname": "全身用抗细菌药", "catdesc": null, "cattype": 2, "cid": "1", "createtime": 1620919897000, "state": null, "children": null }, { "catid": 89, "parentid": 37, "catname": "全身用抗真菌药", "catdesc": null, "cattype": 2, "cid": "1", "createtime": 1620919897000, "state": null, "children": null }, { "catid": 92, "parentid": 37, "catname": "疫苗", "catdesc": null, "cattype": 2, "cid": "1", "createtime": 1620919897000, "state": null, "children": null }, { "catid": 95, "parentid": 37, "catname": "全身用抗病毒药", "catdesc": null, "cattype": 2, "cid": "1", "createtime": 1620919897000, "state": null, "children": null } ] }, { "catid": 38, "parentid": 0, "catname": "抗肿瘤和免疫调节剂", "catdesc": null, "cattype": 1, "cid": "1", "createtime": 1620919879000, "state": null, "children": [ { "catid": 90, "parentid": 38, "catname": "抗肿瘤药", "catdesc": null, "cattype": 2, "cid": "1", "createtime": 1620919897000, "state": null, "children": null } ] }, { "catid": 39, "parentid": 0, "catname": "肌肉-骨骼系统", "catdesc": null, "cattype": 1, "cid": "1", "createtime": 1620919879000, "state": null, "children": [ { "catid": 91, "parentid": 39, "catname": "治疗骨骼疾病的药物", "catdesc": null, "cattype": 2, "cid": "1", "createtime": 1620919897000, "state": null, "children": null }, { "catid": 93, "parentid": 39, "catname": "其它肌肉-骨骼系统疾病用药", "catdesc": null, "cattype": 2, "cid": "1", "createtime": 1620919897000, "state": null, "children": null }, { "catid": 97, "parentid": 39, "catname": "抗炎药和抗风湿药", "catdesc": null, "cattype": 2, "cid": "1", "createtime": 1620919897000, "state": null, "children": null } ] }, { "catid": 40, "parentid": 0, "catname": "神经系统药物", "catdesc": null, "cattype": 1, "cid": "1", "createtime": 1620919879000, "state": null, "children": [ { "catid": 94, "parentid": 40, "catname": "麻醉剂", "catdesc": null, "cattype": 2, "cid": "1", "createtime": 1620919897000, "state": null, "children": null } ] } ], "code": 0 }