文档
测试

根据分类Id查询轮播图

POST
http://localhost:8082/red-memory-user/content/redcontentimage/getListById

接口描述

根据内容分类id查询轮播图信息 字符串拼接分类id

请求参数

参数名
类型
描述
必填
mainTypeId
String
一级分类id
必填
secondTypeId
String
二级分类id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:查询成功
必填
code
int
示例:0
必填
carouselList
array
数据列表 轮播图列表
必填
contentInfoId
int
示例:1447560320821366800 轮播图资讯id
必填
title
string
示例:test 文章标题
必填
imageUrl
string
示例:http://guli123.oss-cn-beijing.aliyuncs.com/20211111/fc039fa5eee14a0c9c544d5c8ffffcab.jpeg 封面图URL
必填
contentLink
object
示例:null 资讯外链接
必填
status
object
示例:null 没有用
必填
videoUrl
object
示例:null 视频地址
必填
isVideo
object
示例:null 判断是视频还是资讯 0资讯 1视频
必填

说明 / 示例

{ "msg": "查询成功", "code": 0, "carouselList": [ { "contentInfoId": 1447560320821366787, "title": "test", "imageUrl": null, "contentLink": null, "status": 0, "videoUrl": null, "isVideo": null } ] }