文档
测试

根据类别id或者文档id查询子类

GET
/contentCategory/getCurrentCategoriesById

接口描述

根据类别id或者文档id查询子类

请求参数

参数名
类型
描述
必填
contentId
string
文档ID
必填
typeId
string
类别ID
可选

响应参数

参数名
类型
描述
必填
root
array[object]
successful operation
必填
_id
string
可选
uid
number
可选
name
string
可选
keywords
string
可选
type
string
可选
sortId
number
可选
parentId
string
可选
enable
boolean
可选
date
string
可选
contentTemp
string
可选
_id
string
可选
name
string
可选
forder
string
可选
cateName
string
可选
detailName
string
可选
isDefault
boolean
可选
date
string
可选
comment
string
可选
defaultUrl
string
可选
homePage
string
可选
sortPath
string
可选
comments
string
可选
sImg
string
可选