文档
测试

simpleList

POST
http://idea.welikedian.com/snack/theme/simpleList

接口描述

获取所有的简易的专题列表

请求参数

参数名
类型
描述
必填
themeIds
string
需要展示专题id,格式为ids=id1,id2,id3···,中间用逗号隔开
必填

成功响应参数

参数名
类型
描述
必填
code
number
响应状态码,0则表示成功
必填
data
array
成功时返回数据,专题列表
必填
id
number
专题id
必填
description
string
专题描述
必填
topicImgUrl
string
专题主图url
必填
name
string
专题名称
必填

成功返回示例

```json { "code": 0, "data": { "themeList": [ { "id": 1, "name": "专题1", "description": "水果世界", "topicImgUrl": "http://xxx.png", "headImgUrl": "http://xxx.png" }, { "id": 2, "name": "专题2", "description": "干物世界", "topicImgUrl": "http://xxx.png", "headImgUrl": "http://xxx.png" } ] } } ```

失败相应参数

参数名
类型
描述
必填
code
number
响应状态码,非0则表示出现错误,具体看全局返回码
必填
msg
string
错误返回信息
必填