数据总览
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>升学规划数据总览接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>information/index</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>
</tbody>
</table>
<p><strong>升学规划浏览数据接口(折线图):information/info_view</strong>
参考:<a href="https://www.showdoc.com.cn/vtkAdmin/11558850196547029">https://www.showdoc.com.cn/vtkAdmin/11558850196547029</a></p>
<p><strong>各类型作品占比数接口:information/data_ratio</strong></p>
<pre><code class="language-php">{ // 占比数的输出信息
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok!&quot;,
&quot;data&quot;: {
&quot;chair&quot;: 1, // 讲座数
&quot;chair_ratio&quot;: &quot;0.20&quot;, // 占比
&quot;info&quot;: 1, // 资讯
&quot;info_ratio&quot;: &quot;0.20&quot;,
&quot;policy&quot;: 1, // 政策
&quot;policy_ratio&quot;: &quot;0.20&quot;,
&quot;campus&quot;: 1, // 校园
&quot;campus_ratio&quot;: &quot;0.20&quot;,
&quot;public&quot;: 1, // 公益
&quot;public_ratio&quot;: &quot;0.20&quot;
}
}</code></pre>
<h5>返回示例</h5>
<pre><code>// 升学规划数据总览输出信息
{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok!&quot;,
&quot;data&quot;: {
&quot;num&quot;: 4, // 总资讯数
&quot;view_num&quot;: 2 // 总浏览数
}
}</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>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>