文档
测试

获取商品分类

POST
http://localhost:8080/portal/product/topcategory.do

请求参数

参数名
类型
描述
必填
sid
Integer
父id
必填

响应参数

参数名
类型
描述
必填
status
Integer
状态码
必填
data
T
数据
必填
username
String
登录成功的管理员用户名
必填
msg
String
状态信息
必填

成功的返回示例

{ "status": 200, "data": [ { "id": 1, "parentId": null, "cname": "是", "status": true, "sortOrder": null, "createTime": null, "updateTime": null }, { "id": 7, "parentId": null, "cname": "y", "status": true, "sortOrder": null, "createTime": null, "updateTime": null } ] }

失败的返回示例

{ "status": 1, "msg": "非法参数" }