jushi

权益充值


商品调价记录

<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> &quot; 点击查看签名规范&quot;)</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{&amp;quot;keyword&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;limit&amp;quot;:100,&amp;quot;page&amp;quot;:1}apikey</code></p> <h4><strong>返回示例:</strong></h4> <ol> <li><code>{</code></li> <li><code>&amp;quot;code&amp;quot;: 200,</code></li> <li><code>&amp;quot;msg&amp;quot;: &amp;quot;成功&amp;quot;,</code></li> <li><code>&amp;quot;data&amp;quot;: {</code></li> <li><code>&amp;quot;list&amp;quot;: [</code></li> <li><code>{</code></li> <li><code>&amp;quot;create_time&amp;quot;: &amp;quot;2023-10-07 01:05:45&amp;quot;,</code></li> <li><code>&amp;quot;price&amp;quot;: &amp;quot;2.00&amp;quot;,</code></li> <li><code>&amp;quot;price1&amp;quot;: &amp;quot;1.00&amp;quot;,</code></li> <li><code>&amp;quot;pricecha&amp;quot;: &amp;quot;1.00&amp;quot;,</code></li> <li><code>&amp;quot;price_type&amp;quot;: 1,</code></li> <li><code>&amp;quot;goods_id&amp;quot;: 2909,</code></li> <li><code>&amp;quot;goods_name&amp;quot;: &amp;quot;test自营手工&amp;quot;,</code></li> <li><code>&amp;quot;goods_img&amp;quot;: &amp;quot;http://img.kasushou.com/Uploads%2FAttachment%2F2022-10-25%2F63578b642b6c1.jpg&amp;quot;,</code></li> <li><code>&amp;quot;status&amp;quot;: 1</code></li> <li><code>},</code></li> <li><code>{</code></li> <li><code>&amp;quot;create_time&amp;quot;: &amp;quot;2023-10-06 23:30:25&amp;quot;,</code></li> <li><code>&amp;quot;price&amp;quot;: &amp;quot;13.43&amp;quot;,</code></li> <li><code>&amp;quot;price1&amp;quot;: &amp;quot;17.13&amp;quot;,</code></li> <li><code>&amp;quot;pricecha&amp;quot;: &amp;quot;3.70&amp;quot;,</code></li> <li><code>&amp;quot;price_type&amp;quot;: 2,</code></li> <li><code>&amp;quot;goods_id&amp;quot;: 2908,</code></li> <li><code>&amp;quot;goods_name&amp;quot;: &amp;quot;【自动充值】tv视频会员1个月&amp;quot;,</code></li> <li><code>&amp;quot;goods_img&amp;quot;: &amp;quot;http://img.kasushou.cn/ad186e989bcef8ec9b92ce56cc61ea26.png&amp;quot;,</code></li> <li><code>&amp;quot;status&amp;quot;: 1</code></li> <li><code>}</code></li> <li><code>],</code></li> <li><code>&amp;quot;total&amp;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>

页面列表

ITEM_HTML