详情
<p>欢迎使用ShowDoc!</p>
<h5>简要描述</h5>
<ul>
<li>知识详情借口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/chronic/resource/info</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">resourceId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>主键</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"retcode": "0000",
"errMsg": "操作成功",
"body": {
"sqlFilter": null,
"currentUserId": null,
"currentOrgId": null,
"currentDeptId": null,
"currentHospitalId": null,
"currentDoctorId": null,
"currentAreaCode": null,
"currentTenant": null,
"resourceId": 22,
"resourceName": "降低血脂有三宝",
"resourceImage": "http://aikangcloud-new.oss-cn-qingdao.aliyuncs.com/shop/image/20180627180558887.png",
"resourceDesc": "降低血脂有三宝没有套路,不兜圈子,直接地告诉大家,降低血脂的",
"resourceType": "TXT",
"classifyId": 28,
"keywords": null,
"sourceUrl": null,
"affixPath": null,
"viewCount": 2,
"shareCount": 0,
"collectCount": 0,
"commentCount": null,
"state": 1,
"hospId": 0,
"createTime": "2018-06-27 00:00:00",
"duration": null,
"content": "<p style=\"text-align: center; line-height: 2em;\"><strong><span style=\"font-size:16px;line-height:110%;font-family:'微软雅黑','sans-serif'\">降低血脂有三宝</span></strong></p><p style=\"text-indent: 32px; line-height: 2em;\"><span style=\"font-size:16px;line-height:110%;font-family:'微软雅黑','sans-serif'\">没有套路,不兜圈子,直接地告诉大家,降低血脂的三宝就是“蔬菜、水果和菌类”。</span></p><p style=\"text-indent: 32px; line-height: 2em;\"><span style=\"font-size:16px;line-height:110%;font-family:'微软雅黑','sans-serif'\">下面,我们就一起来看看蔬菜、水果、菌类的降脂作用。</span></p><p style=\"line-height: 2em; text-align: center; \"><span style=\"font-size:16px;line-height:110%;font-family:'微软雅黑','sans-serif'\"><img src=\"http://aikangcloud-new.oss-cn-qingdao.aliyuncs.com/news/image/20180627180629696.jpg\" title=\"20180627180606917.png\" alt=\"image.png\"/></span></p><p style=\"line-height: 2em; text-align: center; \"><span style=\"font-size:16px;line-height:110%;font-family:'微软雅黑','sans-serif'\"><img src=\"http://aikangcloud-new.oss-cn-qingdao.aliyuncs.com/news/image/20180627180629795.jpg\" title=\"20180627180612693.png\" alt=\"image.png\"/></span></p><p style=\"text-indent: 32px; line-height: 2em;\"><span style=\"font-size:16px;line-height:110%;font-family:'微软雅黑','sans-serif'\">因此,高脂血症的患者在日常生活中要多吃蔬菜、水果、菌类,可以让你轻松地降低血脂哦。还在等什么呢?推荐给你们一份降脂食材表,起身去超市采购哇。</span></p><p style=\"text-align: center; line-height: 2em;\"><span style=\"font-size:16px;line-height:110%;font-family:'微软雅黑','sans-serif'\"><img src=\"http://aikangcloud-new.oss-cn-qingdao.aliyuncs.com/news/image/20180627180629848.jpg\" title=\"20180627180622922.png\" alt=\"image.png\"/></span></p><p><br/></p>",
"orderBy": 0,
"author": null,
"audioUrl": null,
"audioDuration": null,
"audioContent": null,
"chargeType": 0,
"classify": {
"value": 28,
"text": "饮食运动",
"classifyId": 28,
"classifyName": "饮食运动",
"classifyDesc": null,
"sort": 3,
"state": 1,
"createTime": "2019-03-19 11:39:47",
"moduleName": "1",
"count": null,
"children": null,
"resourceIds": null,
"pclassifyId": 10
},
"classifyName": "饮食运动",
"reViewList": [],
"moduleName": "2",
"authorJobTitle": "主治医生",
"authorHospitalName": "黄石爱康医院-test",
"authorImage": null,
"authorDepartment": "急诊科",
"editor": null,
"publishState": 0
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p><code>resource_id</code> int(11) 主键
<code>resource_name</code> varchar(200) 资源名称 标题名称 ,
<code>resource_image</code> varchar(200) '资源图片 标题图',
<code>resource_desc</code> varchar(500) '100字描述',
<code>resource_type</code> varchar(10) '类型 VIDEO=视频 TXT=图文',
<code>classify_id</code> int(11) DEFAULT NULL COMMENT '三级分类ID',
<code>keywords</code> varchar(200) '搜索关键字 弃用',</p>
<p><code>content</code> longtext '文章正文内容',
<code>source_url</code> varchar(1024) '视频路径',
<code>affix_path</code> varchar(200) '附件 无用',</p>
<p><code>view_count</code> int(11) '浏览次数',
<code>share_count</code> int(11) '分享次数',
<code>collect_count</code> int(11) '点赞次数(满意次数)',
<code>comment_count</code> int(11) '不满意次数',</p>
<p><code>state</code> int(11) '数据状态 0=无效 1=有效 用于标记逻辑删除',</p>
<p><code>create_time</code> datetime 创建时间,
<code>duration</code> double(11,2) '视频时长',
<code>order_by</code> int(11) '排序 弃用',</p>
<p><code>author</code> varchar(50) '作者',</p>
<p><code>audio_url</code> varchar(1024) '文章描述 语音url 弃用'
<code>audio_duration</code> double(5,2) '文章描述 语音时长 弃用'
<code>audio_content</code> text ''文章描述 语音内容 弃用'</p>
<p><code>charge_type</code> int(2) '收费状态 :1=收费',</p>
<p><code>hosp_id</code> int(10) '医院id',</p>
<p><code>module_name</code> varchar(32) '模块 1-慢病 2-肿瘤 3-心康 4-血透',
<code>author_job_title</code> varchar(32) '作者-职称',
<code>author_hospital_name</code> varchar(100) '作者-单位',
<code>author_image</code> varchar(200) '作者-头像',
<code>author_department</code> varchar(64) '作者-科室',
<code>editor</code> varchar(32) '编辑者ID',
<code>publish_state</code> int(2) '0-草稿 1-发布 2-下线',</p>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>