特效弹出时间
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>特效弹出时间</li>
</ul>
<h5>请求URL</h5>
<p>-<code>POST</code> <code>{{BASE_URL}}/api/contest/goods.goods/editAlertTime/id/1000 (商品上下架表的id)</code></p>
<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;">alertTimes</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>类型 多个时间,隔开</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"code": 40000,
"msg": "参数不能为空",
"time": "2022-10-20 10:38:40"
}
{
"code": 20000,
"msg": "success",
"time": "2022-10-20 10:50:10",
"data": []
}
socket:
{
"code": 20000,
"msg": "success",
"time": "2022-10-25 10:34:41",
"data": {
"type": "contest/editAlertTime",
"data": {
"id": 1000,
"step": "webLiveFiveStep",
"contestGoodsId": 292,
"contestId": 5486,
"contestGradesId": 52725,
"part": 1,
"tag": 1,
"price": "1.00",
"stock": 50,
"platformId": 38098,
"shelfTime": "2022-10-22 12:13:29",
"offTime": "2022-10-22 12:13:28",
"addTime": "2022-10-22 12:11:54",
"continueShelfTime": "42",
"continueOffTime": "41",
"sort": 1000,
"imageAnswer": "",
"nameAnswer": "",
"alertTimes": "1,2,1,2,1,2,1,2",
"status": 1
},
"goods": {
"contestGoodsId": 292,
"name": "男士手链",
"livePlatform": "1",
"anchorType": 1,
"price": "1.00",
"platformId": 2927,
"score": 1,
"image": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202204/11/7b89f4997fc696bc74730ba468c97d11.jpg",
"detail": "",
"tag": 3,
"nameOption": null,
"nameAnswer": "",
"imageOption": null,
"imageAnswer": "",
"status": 1,
"addTime": "2022-03-22 12:21:51",
"updateTime": "2022-04-11 14:50:20",
"stock": 500,
"belongs": 1,
"step": "webLiveFiveStep",
"strengthMerchant": "",
"place": "",
"repurchase": "0.00",
"state": "1"
}
}
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>