商品调价记录
<h4><strong>简要描述:</strong></h4>
<p>商品调价记录查询接口(最多获取近3天的调价记录)</p>
<h4><strong>请求URL:</strong></h4>
<p><code>http://平台域名/api/v1/goods/pricelog</code></p>
<h4><strong>请求方式:</strong></h4>
<p><code>POST</code></p>
<h4><strong>请求参数:</strong></h4>
<table>
<thead>
<tr>
<th>Header 参数</th>
<th>类型</th>
<th>是否必填</th>
<th>描述</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>Sign</td>
<td>string</td>
<td>是</td>
<td>签名</td>
<td>[点击查看签名规范](<a href="https://doc.kasushou.com/api/v2api/39">https://doc.kasushou.com/api/v2api/39</a> " 点击查看签名规范")</td>
</tr>
<tr>
<td>Timestamp</td>
<td>string</td>
<td>是</td>
<td>13位时间戳(毫秒)</td>
<td>1696644296195</td>
</tr>
<tr>
<td>UserId</td>
<td>string</td>
<td>是</td>
<td>您的用户编号</td>
<td>10000</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th>Body 参数</th>
<th>类型</th>
<th>是否必填</th>
<th>描述</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>keyword</td>
<td>string</td>
<td>否</td>
<td>商品ID或商品名称</td>
<td></td>
</tr>
<tr>
<td>limit</td>
<td>int</td>
<td>否</td>
<td>当前分页显示数量(不填默认为100,最大为100)</td>
<td>100</td>
</tr>
<tr>
<td>page</td>
<td>int</td>
<td>否</td>
<td>当前页码(不填默认为1)</td>
<td>1</td>
</tr>
</tbody>
</table>
<h4><strong>签名示例:</strong></h4>
<p><code>1696644296195{&quot;keyword&quot;:&quot;&quot;,&quot;limit&quot;:100,&quot;page&quot;:1}apikey</code></p>
<h4><strong>返回示例:</strong></h4>
<ol>
<li><code>{</code></li>
<li><code>&quot;code&quot;: 200,</code></li>
<li><code>&quot;msg&quot;: &quot;成功&quot;,</code></li>
<li><code>&quot;data&quot;: {</code></li>
<li><code>&quot;list&quot;: [</code></li>
<li><code>{</code></li>
<li><code>&quot;create_time&quot;: &quot;2023-10-07 01:05:45&quot;,</code></li>
<li><code>&quot;price&quot;: &quot;2.00&quot;,</code></li>
<li><code>&quot;price1&quot;: &quot;1.00&quot;,</code></li>
<li><code>&quot;pricecha&quot;: &quot;1.00&quot;,</code></li>
<li><code>&quot;price_type&quot;: 1,</code></li>
<li><code>&quot;goods_id&quot;: 2909,</code></li>
<li><code>&quot;goods_name&quot;: &quot;test自营手工&quot;,</code></li>
<li><code>&quot;goods_img&quot;: &quot;http://img.kasushou.com/Uploads%2FAttachment%2F2022-10-25%2F63578b642b6c1.jpg&quot;,</code></li>
<li><code>&quot;status&quot;: 1</code></li>
<li><code>},</code></li>
<li><code>{</code></li>
<li><code>&quot;create_time&quot;: &quot;2023-10-06 23:30:25&quot;,</code></li>
<li><code>&quot;price&quot;: &quot;13.43&quot;,</code></li>
<li><code>&quot;price1&quot;: &quot;17.13&quot;,</code></li>
<li><code>&quot;pricecha&quot;: &quot;3.70&quot;,</code></li>
<li><code>&quot;price_type&quot;: 2,</code></li>
<li><code>&quot;goods_id&quot;: 2908,</code></li>
<li><code>&quot;goods_name&quot;: &quot;【自动充值】tv视频会员1个月&quot;,</code></li>
<li><code>&quot;goods_img&quot;: &quot;http://img.kasushou.cn/ad186e989bcef8ec9b92ce56cc61ea26.png&quot;,</code></li>
<li><code>&quot;status&quot;: 1</code></li>
<li><code>}</code></li>
<li><code>],</code></li>
<li><code>&quot;total&quot;: 2</code></li>
<li><code>}</code></li>
<li><code>}</code></li>
</ol>
<h4><strong>返回data说明:</strong></h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>list</td>
<td>array</td>
<td>调价记录列表</td>
</tr>
<tr>
<td>total</td>
<td>int</td>
<td>获取到的记录总数量</td>
</tr>
</tbody>
</table>
<h4><strong>返回list说明:</strong></h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>create_time</td>
<td>string</td>
<td>调价时间</td>
</tr>
<tr>
<td>price</td>
<td>string</td>
<td>最新价格</td>
</tr>
<tr>
<td>price1</td>
<td>string</td>
<td>历史价格</td>
</tr>
<tr>
<td>pricecha</td>
<td>string</td>
<td>商品差价</td>
</tr>
<tr>
<td>price_type</td>
<td>int</td>
<td>调价类型:1=涨价,2=降价</td>
</tr>
<tr>
<td>goods_id</td>
<td>int</td>
<td>商品ID</td>
</tr>
<tr>
<td>goods_name</td>
<td>string</td>
<td>商品名称</td>
</tr>
<tr>
<td>goods_img</td>
<td>string</td>
<td>商品图片</td>
</tr>
<tr>
<td>status</td>
<td>int</td>
<td>商品状态:1=销售,2=暂停,3=禁售</td>
</tr>
</tbody>
</table>