文档
测试

系统通知

POST
https://yuer.guojimami.com/apimessage/systemInfo

请求参数

参数名
类型
描述
必填
user_id
int
示例:1 需登录
必填
page
int
示例:1 分页
必填

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
status
string
示例:ok
必填
msg
string
示例:获取成功
必填
note
array
数据列表
必填
photo
string
示例:https://m.guojimami.com/data/index_setting/1600884101670582932.png 公告官方头像
必填
name
string
示例:国妈育儿 公告官方名称
必填
type
int
示例:2 公告类型 1:系统公告 2:审核公告 3:封禁公告 type = 1 时 返回的参数 和 type = 2或type=3 时返回的参数 不一样 具体 看看打印出来的数据
必填
content_id
string
示例:107 内容id 这个参数只会在审核公告的时候有 封禁公告 这个参数没有
必填
audio_status
string
示例:1 审核状态 1:审核通过 2:审核未通过 当为封禁公告时 1:解除封禁 2:封禁
必填
nopass_reason
string
示例: 未通过审核原因 审核通过时 这个参数为空 封禁原因 解除封禁时 这个参数为空
必填
tip
string
示例 您在 ,2020-09-14 16:20发布的一篇帖子已通过审核 描述
必填
title
string
示例: 内容的标题
必填
button_name
string
示例:查看详情 按钮名称
必填
img
string
示例:http://image.guojimami.com/sq_community/16000716214171.png 第一张图片
必填
video_path
string
视频路径
必填
video_cover
string
视频封面
必填
add_time
string
示例:2020-09-24
必填
page_count
int
示例:1
必填
empty
object
示例:获取成功 空状态
必填

说明 / 示例

{ "code": "200", "status": "ok", "msg": "获取成功", "note": [ { "photo": "https://m.guojimami.com/data/index_setting/1600884101670582932.png", "name": "国妈育儿", "type": 2, "content_id": "107", "audio_status": "1", "nopass_reason": "", "title": "", "img": "http://image.guojimami.com/sq_community/16000716214171.png", "video_path": "", "video_cover": "", "add_time": "2020-09-24" }, { "photo": "https://m.guojimami.com/data/index_setting/1600884101670582932.png", "name": "国妈育儿", "type": 2, "content_id": "124", "audio_status": "1", "nopass_reason": "", "title": "P图", "img": "http://image.guojimami.com/sq_community/160084935080603.png", "video_path": "", "video_cover": "", "add_time": "2020-09-24" }, { "photo": "https://m.guojimami.com/data/index_setting/1600884101670582932.png", "name": "国妈育儿", "type": 2, "content_id": "123", "audio_status": "2", "nopass_reason": "测试隐藏", "title": "你好", "img": "http://image.guojimami.com/sq_community/160084875482849.png", "video_path": "", "video_cover": "", "add_time": "2020-09-24" }, { "photo": "https://m.guojimami.com/data/index_setting/1600884101670582932.png", "name": "国妈育儿", "type": 2, "content_id": "110", "audio_status": "2", "nopass_reason": "测试隐藏", "title": "草稿", "img": "http://image.guojimami.com/sq_community/16001325605337.png", "video_path": "", "video_cover": "", "add_time": "2020-09-24" }, { "photo": "https://m.guojimami.com/data/index_setting/1600884101670582932.png", "name": "国妈育儿", "type": 1, "title": "测试系统通知", "content": "系统通知测试一下", "img": "https://m.guojimami.com/data/", "link": "https://m.guojimami.com/article.php?id=6698", "button_name": "查看详情", "add_time": "2020-09-24" }, { "photo": "https://m.guojimami.com/data/index_setting/1600884101670582932.png", "name": "国妈育儿", "type": 1, "title": "测试系统通知", "content": "测试系统通知带图片", "img": "https://m.guojimami.com/data/sq_system_note/1600906144431111476.jpg", "link": "https://m.guojimami.com/article.php?id=10588", "button_name": "点击查看", "add_time": "2020-09-24" }, { "photo": "https://m.guojimami.com/data/index_setting/1600884101670582932.png", "name": "国妈育儿", "type": 1, "title": "测试系统通知", "content": "测试系统通知不带图片", "img": "https://m.guojimami.com/data/", "link": "https://m.guojimami.com/article.php?id=6698", "button_name": "查看详情", "add_time": "2020-09-24" } ], "page_count": 1 }