Skip to content

获取分类列表

接口地址

      GET
      
/api/category/list

请求参数

Header 参数
Authorization
string必需
示例值:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE3Njc3NTIzMDJ9

返回响应

(200)
HTTP 状态码:200
内容格式:200
数据模型
status
string必需
code
integer必需
message
string必需
data
object {3}必需
category
array [object {3}]默认分类必需
id
integer必需
name
string必需
children
array [object]必需
id
integer必需
name
string必需
contentCategory
array [object {3}]内容分类必需
id
integer必需
name
string必需
children
array [object]必需
id
integer必需
name
string必需
patternType
array [object {2}]平铺类型必需
id
integer必需
name
string必需
error
object {0}必需
响应示例