简要描述:

  • 获取平台商品分类详情接口。
  • 根据商品目录编号获取当前目录信息。

请求URL:

  • /api/shop/category/detail

请求方式:

  • GET
  • POST

请求参数:

参数名称 类型 必选 长度 接口介绍
token String Y 128 授权时获取的token
id Integer Y 32 分类ID

响应数据:

参数名称 数据格式
status 返回值:true/false
code 成功为 200
msg 文字提示
result { “id”: 670,
“name”: “电脑、办公”,
“thumb”: “”,
“parentid”: 0,
“description”: “电脑办公”,
“level”: 1}

相关字段说明

参数名称 类型 必选 长度 接口介绍
id Integer Y 32 分类编号
level Integer Y 1 分类层级
name String Y 64 分类名称
thumb String 图标
parentid Integer Y 父ID
description String 接口介绍
文档更新时间: 2020-03-27 11:22   作者:管理员