文档
测试

根据地址获取资讯和视频

GET
http://localhost:8082/red-memory-user/content/redcontentlocalinfo/getLocalContentInfoAndVideoByParams?city=北京

接口描述

这边的省份和城市js 要和后台的一致

响应参数

参数名
类型
描述
必填
msg
string
示例:查询成功
必填
code
int
示例:0
必填
page
object
数据字典
必填
totalCount
int
示例:2
必填
pageSize
int
示例:10
必填
totalPage
int
示例:1
必填
currPage
int
示例:1
必填
list
array
数据列表
必填
contentInfoId
string
示例:1464515101016068096
必填
content
string
示例:<p>123</p>
必填
subtitle
object
示例:null
必填
title
string
示例:test
必填
mainTypeId
string
示例:1441381460622839808
必填
secondTypeId
object
示例:null
必填
imageUrl
string
示例:http://guli123.oss-cn-beijing.aliyuncs.com/20211127/779c6bda3c4348a1808f32262b9cd684.jpeg
必填
contentLink
object
示例:null
必填
city
string
示例:北京市,市辖区
必填
videoUrl
string
示例:
必填
isVideo
int
示例:0
必填
releaseTime
string
示例:2021-11-27
必填
createTime
string
示例:2021-11-27 16:43:04
必填

说明 / 示例

{ "msg": "查询成功", "code": 0, "page": { "totalCount": 2, "pageSize": 10, "totalPage": 1, "currPage": 1, "list": [ { "contentInfoId": "1464515101016068096", "content": "<p>123</p>", "subtitle": null, "title": "test", "mainTypeId": "1441381460622839808", "secondTypeId": null, "imageUrl": "http://guli123.oss-cn-beijing.aliyuncs.com/20211127/779c6bda3c4348a1808f32262b9cd684.jpeg", "contentLink": null, "city": "北京市,市辖区", "videoUrl": "", "isVideo": 0, "releaseTime": "2021-11-27", "createTime": "2021-11-27 16:43:04" }, { "contentInfoId": "1464515513261625344", "content": "<p>123</p>", "subtitle": null, "title": "test", "mainTypeId": "1441381460622839808", "secondTypeId": null, "imageUrl": "", "contentLink": null, "city": "北京市,市辖区", "videoUrl": "http://guli123.oss-cn-beijing.aliyuncs.com/20211127/21751c9e927049f4b88265c2f0444c28.mp4", "isVideo": 1, "releaseTime": "2021-11-27", "createTime": "2021-11-27 16:44:42" } ] } }