文档
测试

getYop(查询所有的top栏)

GET
http://localhost:8081/top

接口描述

查询所有的top栏

响应参数

参数名
类型
描述
必填
id
int
必填
topset_name
string
top栏的名字
必填
component_type
string
组件类型:0首页,1文章列表,2文章列表,3带侧边文章,4人像列表,5文章
必填
route
string
top栏的路由
必填

说明 / 示例

[ { "id": 3, "topset_name": "新闻", "component_type": "2", "route": "/000" }, { "id": 4, "topset_name": "新闻中心", "component_type": "2", "route": "/111" } ]