文档
测试

获取分类列表

GET
http://{{url}}/index.php?r=api%2Fcontent%2Flist&type=college&pid=0&store_id=1

请求参数

参数名
类型
描述
必填
r
string
示例:api/content/list
必填
type
string
示例:college=千年学院,study=学习专区,marke=营销专区
必填
pid
int
示例:0
必填
store_id
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:ok
必填
data
object
数据字典
必填
cate_list
array
数据列表
必填
id
int
示例:1
必填
pid
int
示例:0
必填
name
string
示例:一级分类
必填
desc
string
示例:一级分类
必填
image
string
示例:/assets/img/qrcode.png
必填
status
int
示例:1
必填
sort
int
示例:0
必填
level
int
示例:1
必填
identity
string
示例:-1,0,1,2,3,4
必填
createtime
int
示例:1658280462
必填
updatetime
int
示例:1658298127
必填
articel_list
array
数据列表
必填