文档
测试

商品分类

GET
192.168.8.12:2020/web/index/productCate/category.php

接口描述

商品分类

请求参数

参数名
类型
描述
必填
websiteId
int
网站ID
必填

响应参数

参数名
类型
描述
必填
success
boolean
示例:true
必填
code
int
示例:200
必填
msg
string
示例:查询成功
必填
data
array
数据列表
必填
id
int
示例:5
必填
name
string
示例:食品饮料
必填
parentId
object
示例:null
必填
level
int
示例:0
必填
deleted
boolean
示例:false
必填
cateImg
string
示例:/2017/8/6036809871818310103.png
必填
childs
array
数据列表
必填
id
int
示例:1109
必填
name
string
示例: 菌类
必填
parentId
int
示例:5
必填
level
int
示例:1
必填
deleted
boolean
示例:false
必填
cateImg
object
示例:null
必填
childs
array
数据列表
必填
id
int
示例:1166
必填
name
string
示例:食用菌类
必填
parentId
int
示例:1109
必填
level
int
示例:2
必填
deleted
boolean
示例:false
必填
cateImg
object
示例:null
必填
childs
object
示例:null
必填
safeParentId
int
示例:1109
必填
leaf
boolean
示例:true
必填
safeParentId
int
示例:5
必填
leaf
boolean
示例:false
必填
safeParentId
int
示例:0
必填
leaf
boolean
示例:false
必填