简讯详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>简讯详情</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/Teacher/GetNewsDetail</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>Get </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>简讯id</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>简讯类型 1、老师 2、机构 3、学校</td>
</tr>
</tbody>
</table>
<p><strong>header:</strong> </p>
<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;">access_token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>验签token</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 200,
&quot;msg&quot;:&quot;获取成功&quot;,
&quot;description&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;id&quot;: 2,
&quot;title&quot;: &quot;机构简讯测试1111&quot;, //标题
&quot;pics&quot;: [ //图片集合
&quot;http://shangcheng112.oss-cn-beijing.aliyuncs.com/edu/c837e42e-dccc-42c5-af1b-e12f9c8f5a83.jpg&quot;
],
&quot;create_time&quot;: &quot;2024-08-12&quot;,//创建时间
&quot;intro&quot;: &quot;111111&quot;,//介绍
&quot;pic_sort&quot;: 1,//图片排序方式 1、轮播 2、竖排
&quot;name&quot;: &quot;小芳&quot;,//老师名称
&quot;phone_no&quot;: &quot;13566556655&quot;,//联系方式
&quot;head_portrait&quot;: &quot;https://xxkcimg.oss-cn-hangzhou.aliyuncs.com/portrait/2110142304257445.png&quot;,//老师头像
&quot;post&quot;: &quot;招生主任&quot;,//职务
&quot;stars&quot;: 5,//星级
&quot;create_name&quot;: &quot;上元教育&quot;,//创建人
&quot;create_logo&quot;: &quot;http://shangcheng112.oss-cn-beijing.aliyuncs.com/edu/cd179faa-ed54-447a-85e8-9b6d8b2bf860.png&quot;,//创建人头像
&quot;is_show_teacher&quot;: true,//是否显示老师名片
&quot;browse_count&quot;:&quot;0&quot;//浏览次数
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>200成功 其它失败</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>