聚灵001


获取商品详情

<h5>接口描述</h5> <ul> <li>接口方向:接入方 → 本平台</li> <li>限速控制:2秒1次</li> <li>查询商品详情</li> </ul> <h4>请求URL</h4> <ul> <li>[<a href="https://juling.funshion.com/ps/open/goods/details">https://juling.funshion.com/ps/open/goods/details</a>] </li> <li>接口域名固定,不支持其他域名</li> </ul> <h4>请求方式</h4> <ul> <li>POST/GET</li> <li>Content-Type: application/json;charset=utf-8</li> </ul> <h4>请求参数</h4> <table> <thead> <tr> <th>参数名</th> <th>必填</th> <th>示例</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>userid</td> <td>是</td> <td>10001</td> <td>商户ID联系站长获取</td> </tr> <tr> <td>timestamp</td> <td>是</td> <td>1689544765</td> <td>现行10位时间戳,有效期300秒</td> </tr> <tr> <td>goodsid</td> <td>是</td> <td>2515</td> <td>商品ID</td> </tr> <tr> <td>sign</td> <td>是</td> <td>ffjutjghfdgedf5eggdgdgghr</td> <td>签名,<a href="https://www.showdoc.com.cn/juling001/11558619435396525">点我查看签名计算规则</a></td> </tr> </tbody> </table> <h4>请求示例</h4> <pre><code>{ &amp;quot;userid&amp;quot;: &amp;quot;1004&amp;quot;, &amp;quot;goodsid&amp;quot;: 4586, &amp;quot;timestamp&amp;quot;: 1740443776, &amp;quot;sign&amp;quot;: &amp;quot;6f54c6431218aae5f24e828e24f258dd&amp;quot; }</code></pre> <h4>响应信息</h4> <p>{ &quot;code&quot;: 0, &quot;msg&quot;: &quot;success&quot;, &quot;data&quot;: { &quot;goodsid&quot;: &quot;czjyvip003&quot;, &quot;goodsname&quot;: &quot;橙子教育(电视端)季卡&quot;, &quot;goodsprice&quot;: 0, &quot;goodsstatus&quot;: 1, &quot;goodstype&quot;: 1 } }</p> <h4>响应参数</h4> <table> <thead> <tr> <th>参数名</th> <th>示例</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>1</td> <td><a href="https://www.showdoc.com.cn/2592446100589081/11529649354692263">详见全局结果代码说明</a></td> </tr> <tr> <td>msg</td> <td>签名错误</td> <td>提示信息</td> </tr> <tr> <td>data.goodsid</td> <td>4584</td> <td>商品ID</td> </tr> <tr> <td>data.goodsname</td> <td>测试产品代理商测试</td> <td>商品名称</td> </tr> <tr> <td>data.goodsprice</td> <td>5</td> <td>商品单价,单位元</td> </tr> <tr> <td>data.goodsstatus</td> <td>1</td> <td>商品状态 0=下架 1=出售</td> </tr> <tr> <td>data.goodstype</td> <td>1</td> <td>商品类型 0=卡密 1=直冲</td> </tr> </tbody> </table>

页面列表

ITEM_HTML