千川curd
<h3>添加</h3>
<h5>简要描述</h5>
<ul>
<li>添加
<h5>请求URL</h5></li>
<li><code>{{BASE_URL}}/api/contest/console.console/add</code> <code>POST</code></li>
</ul>
<h5>参数</h5>
<pre><code>{
"contestId":1,
"type":2, #类型
"price":10,
"answer":{#选择的内容
"creativeForm" : 0, #创意形式
.....
},
"extend": {
}
}</code></pre>
<h3>编辑</h3>
<h5>简要描述</h5>
<ul>
<li>编辑
<h5>请求URL</h5></li>
<li><code>{{BASE_URL}}/api/contest/console.console/edit/id/{id}</code> <code>POST</code></li>
</ul>
<h5>参数</h5>
<pre><code>{
"type":2, #类型
"price":10,
"answer":{#选择的内容
"creativeForm" : 0, #创意形式
.....
},
"extend": {
}
}</code></pre>
<h3>删除</h3>
<h5>简要描述</h5>
<ul>
<li>删除
<h5>请求URL</h5></li>
<li><code>{{BASE_URL}}/api/contest/console.console/del/ids/8,9,10</code> <code>POST</code></li>
</ul>
<h5>参数</h5>
<pre><code>{
"code": 20000,
"msg": "success",
"time": "2022-03-01 09:44:25",
"data": {
"count":2
}
}</code></pre>
<h3>获取详情</h3>
<h5>简要描述</h5>
<ul>
<li>获取详情
<h5>请求URL</h5></li>
<li><code>{{BASE_URL}}/api/contest/console.console/getInfo/id/{id}</code> <code>GET</code></li>
</ul>
<h4>参数</h4>
<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;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>千川计划的类型</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 20000,
"msg": "success",
"time": "2022-03-01 10:16:58",
"data": {
"console_id": 10,
"platform_id": 527,
"grades_id": 10,
"type": 1,
"price": "10.00",
"state": 2,
"status": 1,
"add_time": "2022-02-25 17:37:02",
"update_time": "2022-02-25 17:37:02",
"answer": {
"keyword": "0",
"keywordMatch": "",
"aiFlow": "",
"controlCost": "",
"optimalObject": "",
"putTime": "",
"putTimeDuration": "",
"putTimePay": "",
"bid": "",
"place": "",
"territory": "",
"sex": "",
"age": "",
"network": "",
"platform": "",
"originality": "",
"originalityVideo": "",
"originalityType": "",
"originalityPlan": "",
"originalityAdGroup": ""
},
"extend": {
"keyword": "测试"
}
}
}</code></pre>