文档
测试

系统信息

GET
https://oucschool.hqshop.club/api1.0/systeminfo.php

响应参数

参数名
类型
描述
必填
state
int
1为成功,0为失败
必填
message
string
无信息为成功,失败则返回相应文本
必填
systeminfo
array
系统信息
必填
id
string
图书或者课程ID
必填
cid
string
课程分类ID(图书没有此项)
可选
writetime
string
发布时间
必填
notice
string
通知
必填
notice_title
string
通知标题
必填
notice_content
string
通知内容
必填
type
int
1为海洋讲堂, 2为科普图书
必填

说明 / 示例

{ "state": "1", "message": "", "systeminfo": [ { "id": "810", "cid": "204", "writetime": "2020-01-06 14:39:31", "notice": "课程上新通知", "notice_title": "[课程更新]", "notice_content": "小海上新课程啦,点击查看详情>>", "type": 1 }, { "id": "809", "cid": "204", "writetime": "2020-01-06 14:14:49", "notice": "课程上新通知", "notice_title": "[课程更新]", "notice_content": "小海上新课程啦,点击查看详情>>", "type": 1 }, { "id": "808", "cid": "204", "writetime": "2020-01-06 14:06:59", "notice": "课程上新通知", "notice_title": "[课程更新]", "notice_content": "小海上新课程啦,点击查看详情>>", "type": 1 }, { "id": "88", "writetime": "2019-07-29 11:04:25", "notice": "图书上新通知", "notice_title": "[图书更新]", "notice_content": "小海上新图书啦,点击查看详情>>", "type": 2 }, { "id": "87", "writetime": "2019-07-24 11:22:22", "notice": "图书上新通知", "notice_title": "[图书更新]", "notice_content": "小海上新图书啦,点击查看详情>>", "type": 2 }, { "id": "86", "writetime": "2019-07-24 11:19:17", "notice": "图书上新通知", "notice_title": "[图书更新]", "notice_content": "小海上新图书啦,点击查看详情>>", "type": 2 } ] }