文档
测试

获取首页信息

POST
/index/index/getIndexInfo

接口描述

获取首页信息

响应参数

参数名
类型
描述
必填
code
int
返回结果代码,1001研值不足,1002研值不足且非会员,1003研值不足且非专业翻译高级用户,1013研值充足但非专业翻译高级用户,1004研值不足且非专业药学库高级用户,1005研值不足且非专业绘图高级用户,2001非会员,3001非专业翻译高级用户,3002非专业药学库高级用户,3003非专业绘图高级用户,200请求成功,300登录失败,301用户封禁,302用户封禁,500请求失败
必填
msg
string
描述
必填
data
array
返回对象数组
必填
rotation
array
轮播图数据数组
必填
release_date
string
发布时间
必填
information_img
string
信息图片地址
必填
information_id
string
信息ID
必填
information_title
string
信息标题
必填
information_type
string
信息类型代码,information为新闻资讯,article为文献,video为视频
必填
update_time
string
数据更新时间
必填
type_name
string
视频类型,仅在当前数据为视频时可能出现
必填
video_desc
string
视频描述,仅在当前数据为视频时可能出现
必填
video_duration
string
视频时长,仅在当前数据为视频时可能出现
必填
source_id
string
来源ID,仅在当前数据为新闻资讯、文献时可能出现
必填
source_name
string
来源名称,仅在当前数据为新闻资讯、文献时可能出现
必填
article_year
string
文献年份,仅在当前数据为文献时可能出现
必填
chs_text
string
标题翻译,仅在当前数据为新闻资讯、文献时可能出现
必填
issue_data
string
发布时间,仅在当前数据为新闻资讯时可能出现
必填
paragraph_desc
string
描述信息,仅在当前数据为新闻资讯时可能出现
必填
language_type
string
语言类型(1为中文,2为英文),仅在当前数据为新闻资讯时可能出现
必填
summary_text
string
文献摘要,仅在当前数据为文献时可能出现
必填
deputy
array
轮播图之外的其余七个数据数组,内部数据与rotation数组一致
必填
information
array
新闻数组,内部数据与rotation数组一致
必填
article
array
文献数组,内部数据与rotation数组一致
必填
video
array
视频数组,内部数据与rotation数组一致
必填

说明 / 示例

{ "code": 200, "msg": "ok!", "data": { "rotation": [], "deputy": [ { "list_id": 30, "cate_id": 7, "information_id": "abs20200228174607791041700553", "information_type": "article", "information_title": "Effect of an ICU Diary on Posttraumatic Stress Disorder Symptoms Among Patients Receiving Mechanical Ventilation: A Randomized Clinical Trial", "information_img": "intelligence/202002/abs_articel_default_image.png", "update_time": "2020-02-25", "release_date": "2019-07-16", "source_id": 53, "source_name": "JAMA", "article_year": "2019", "chs_text": "ICU日记对机械通气患者创伤后应激障碍症状的影响:一项随机临床试验", "summary_text": "ImportanceKeeping a diary for patients while they are in the intensive care unit (ICU) might reduce their posttraumatic stress disorder (PTSD) symptoms." }, { "list_id": 32, "cate_id": 7, "information_id": "abs20200228175728636393404613", "information_type": "article", "information_title": "Ceiling effects in the \"effectiveness of adjunctive antidepressant treatment for bipolar depression\" study: was the sky the limit?", "information_img": "intelligence/202002/abs_articel_default_image.png", "update_time": "2020-02-25", "release_date": "2019-02-19", "source_id": 2242, "source_name": "Revista Brasileira de Psiquiatria", "article_year": "2011" }, { "list_id": 33, "cate_id": 7, "information_id": "abs20200228175744804589721063", "information_type": "article", "information_title": "Ceiling of stimulus induced rises in extracellular potassium concentration in the cerebral cortex of cat", "information_img": "intelligence/202002/abs_articel_default_image.png", "update_time": "2020-02-25", "release_date": "2019-02-15", "source_id": 1571, "source_name": "Brain Research", "article_year": "1977" }, { "list_id": 31, "cate_id": 7, "information_id": "abs20200228175305385710352400", "information_type": "article", "information_title": "Ceiling effects of the Health Assessment Questionnaire and its modified version in some ambulatory rheumatoid arthritis patients", "information_img": "intelligence/202002/abs_articel_default_image.png", "update_time": "2020-02-25", "release_date": "2018-12-13", "source_id": 123, "source_name": "Annals of the Rheumatic Diseases", "article_year": "1995" } ], "information": [], "article": [], "video": [] } }