3.模型审核查询接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>模型审核查询接口</li>
</ul>
<h5>接口维护负责人:陈谦</h5>
<h5>请求URL</h5>
<ul>
<li><code>http://172.17.10.52:8080/pyapi/model_review</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>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">CheckStatus</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">模型的审核状态:0:已拒绝 / 1:已通过 / 2:已申请/ 3:全部状态</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">页数</td>
</tr>
<tr>
<td style="text-align: left;">limit</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">每页显示的数量</td>
</tr>
<tr>
<td style="text-align: left;">OutPut</td>
<td style="text-align: left;">bool</td>
<td style="text-align: left;">是否导出接口</td>
</tr>
</tbody>
</table>
<h5>请求示例-申请中</h5>
<pre><code>{
"CheckStatus": 2,
"page": 1,
"limit": 10,
"OutPut":false
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"data": [
{
"CheckStatus": "申请中",
"ModelName": "sx_lousy_Mx0",
"TarinTime": "2022-07-26 16:46:55",
"TarinUser": "HYNN"
},
{
"CheckStatus": "申请中",
"ModelName": "sx_lousy_Mx1",
"TarinTime": "2022-07-25 14:34:05",
"TarinUser": null
},
{
"CheckStatus": "申请中",
"ModelName": "sx_lousy_Mx2",
"TarinTime": "2022-07-25 14:59:59",
"TarinUser": null
},
{
"CheckStatus": "申请中",
"ModelName": "sx_lousy_Mx3",
"TarinTime": "2022-07-26 16:27:48",
"TarinUser": null
}
],
"msg": "success",
"pageData": {
"page": 1,
"total": 4
}
}</code></pre>
<h5>请求示例-已通过</h5>
<pre><code>{
"CheckStatus": 1,
"page": 1,
"limit": 10,
"OutPut":false
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"data": [
{
"CheckStatus": "已通过",
"ModelName": "sx_brs4K_M1",
"TarinTime": "2022-06-28 19:26:16",
"TarinUser": null
},
{
"CheckStatus": "已通过",
"ModelName": "sx_brs4K_M4",
"TarinTime": "2022-07-14 13:24:36",
"TarinUser": null
},
{
"CheckStatus": "已通过",
"ModelName": "sx_lousy_Mx0",
"TarinTime": "2022-07-26 16:46:55",
"TarinUser": "HYNN"
}
],
"msg": "success",
"pageData": {
"page": 1,
"total": 3
}
}</code></pre>
<h5>请求示例-已拒绝</h5>
<pre><code>{
"CheckStatus": 0,
"page": 1,
"limit": 10,
"OutPut":false
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"data": [
{
"CheckStatus": "已拒绝",
"ModelName": "sx_brs4K_M3",
"TarinTime": "2022-07-02 13:24:36",
"TarinUser": null
},
{
"CheckStatus": "已拒绝",
"ModelName": "sx_brs4K_M2",
"TarinTime": "1905-07-07 00:00:00",
"TarinUser": null
}
],
"msg": "success",
"pageData": {
"page": 1,
"total": 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>
<tr>
<td style="text-align: left;">CheckStatus</td>
<td style="text-align: left;">nvarhar</td>
<td>模型的审核状态</td>
</tr>
<tr>
<td style="text-align: left;">ModelName</td>
<td style="text-align: left;">nvarchar</td>
<td>模型的名称</td>
</tr>
<tr>
<td style="text-align: left;">TarinTime</td>
<td style="text-align: left;">nvarchar</td>
<td>训练时间</td>
</tr>
<tr>
<td style="text-align: left;">TarinUser</td>
<td style="text-align: left;">nvarchar</td>
<td>训练用户</td>
</tr>
</tbody>
</table>
<h5>请求示例-导出接口</h5>
<pre><code>{
"CheckStatus": 2,
"page": 1,
"limit": 10,
"OutPut":true
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"data": "http://172.17.10.52:8080/output/模型状态数据.csv",
"msg": "success"
}</code></pre>
<h5>备注</h5>