泽光通讯报价小程序

个人创业项目


查询二级分类接口

[TOC]

简要描述
  • 查询二级分类接口
请求URL
  • http://43.143.236.188:9090/phoneclass/findTwoClass?id=04001&token=1651
请求方式
  • POST
参数
参数名 必选 类型 说明
token string 登录用户凭证
id string 二级菜单id
返回示例
  {
    "state": 0,
    "message": null,
    "data": {
        "phoneclassThreeVoList": [
            {
                "threeId": "04001001",
                "threeName": "iPhone14 128G",
                "threeSort": "1",
                "threeCreateTime": 1668167788000,
                "threeMemory": null,
                "threeParentId": "04001",
                "phoneclassList": [
                    {
                        "id": "0400100101",
                        "name": "iPhone14 128G 午夜色",
                        "parentId": "04001001",
                        "catLevel": "4",
                        "sort": "1",
                        "upDown": "0",
                        "status": "1",
                        "createTime": 1668167821000,
                        "price": 5335,
                        "memory": "128G",
                        "colour": "午夜色",
                        "phoneclassList": null
                    },
                    {
                        "id": "0400100102",
                        "name": "iPhone14 128G 星光色",
                        "parentId": "04001001",
                        "catLevel": "4",
                        "sort": "1",
                        "upDown": "2",
                        "status": "1",
                        "createTime": 1668167915000,
                        "price": 5335,
                        "memory": "128G",
                        "colour": "星光色",
                        "phoneclassList": null
                    }
                ]
            },
            {
                "threeId": "04001002",
                "threeName": "iphone14 256G",
                "threeSort": "2",
                "threeCreateTime": 1668573967000,
                "threeMemory": null,
                "threeParentId": "04001",
                "phoneclassList": [
                    {
                        "id": "04001002001",
                        "name": "iPhone14 256G 午夜色",
                        "parentId": "04001002",
                        "catLevel": "4",
                        "sort": "1",
                        "upDown": "0",
                        "status": "1",
                        "createTime": 1668574043000,
                        "price": 6225,
                        "memory": "256G",
                        "colour": "午夜色",
                        "phoneclassList": null
                    },
                    {
                        "id": "04001002002",
                        "name": "iPhone14 256G 星光色",
                        "parentId": "04001002",
                        "catLevel": "4",
                        "sort": "2",
                        "upDown": "2",
                        "status": "1",
                        "createTime": 1668574094000,
                        "price": 6440,
                        "memory": "256G",
                        "colour": "星光色",
                        "phoneclassList": null
                    }
                ]
            }
        ]
    }
}
返回参数说明
参数名 类型 说明
state int 请求状态值:成功为0,失败为1
message String 返回消息
data T 返回值:成功为1,失败为0
phoneclassThreeVoList List 三级分类
threeId String 三级分类id
threeName String 三级分类名称
threeSort String 三级分类排序
threeCreateTime String 新增时间
threeMemory String 类型版本
phoneclassList List 四级分类
id String 四级分类id
name String 四级分类名称
price String 价格
memory String 内存版本
colour String 颜色类型
upDown String 涨跌 0跌1平2涨
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML