文档
测试

获取当前分类的资讯视频列表

POST
http://localhost:8082/red-memory-user/content/redcontentinfo/getContentInfoVideoById

接口描述

根据当前分类id获取对应的资讯列表 返回的资讯列表没有包含资讯的全部信息

请求参数

参数名
类型
描述
必填
mainTypeId
String
一级分类id
必填
secondTypeId
String
二级分类id
必填
page
int
当前页面
必填
limit
每页的个数
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:查询成功
必填
code
int
示例:0
必填
page
object
数据字典
必填
totalCount
int
示例:1
必填
pageSize
int
示例:10
必填
totalPage
int
示例:1
必填
currPage
int
示例:1
必填
list
array
数据列表
必填
contentInfoId
string
示例:1464507205440114688
必填
content
string
示例:<p>123</p>
必填
subtitle
object
示例:null
必填
title
string
示例:test
必填
mainTypeId
string
示例:1440663916748345344
必填
secondTypeId
string
示例:1464148031413817344
必填
imageUrl
string
示例:http://guli123.oss-cn-beijing.aliyuncs.com/20211127/965c2fe5dc3c4ae8803a361a08c9ae7e.jpg
必填
contentLink
object
示例:null
必填
videoUrl
string
示例:
必填
isVideo
int
示例:0
必填

说明 / 示例

{ "msg": "查询成功", "code": 0, "page": { "totalCount": 1, "pageSize": 10, "totalPage": 1, "currPage": 1, "list": [ { "contentInfoId": "1464507205440114688", "content": "<p>123</p>", "subtitle": null, "title": "test", "mainTypeId": "1440663916748345344", "secondTypeId": "1464148031413817344", "imageUrl": "http://guli123.oss-cn-beijing.aliyuncs.com/20211127/965c2fe5dc3c4ae8803a361a08c9ae7e.jpg", "contentLink": null, "videoUrl": "", "isVideo": 0 } ] } }