话费慢充

v2.0


获取产品

<p>&gt; POST <a href="https://gitee.com/link?target=http%3A%2F%2F%25E5%259F%259F%25E5%2590%258D%2Fyrapi.php%2Findex%2Fproduct"><a href="http://域名/api/index/product">http://域名/api/index/product</a></a></p> <h3><a href="https://gitee.com/dayuanren/rechargev2doc/blob/master/V2.md#%E8%AF%B7%E6%B1%82%E4%BD%93request-body-3"></a>请求体(Request Body)</h3> <table> <thead> <tr> <th>参数名称</th> <th>数据类型</th> <th>示例</th> <th>不为空</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>userid</td> <td>string</td> <td>10001</td> <td>true</td> <td>商户ID</td> </tr> <tr> <td>type</td> <td>int</td> <td>1</td> <td>false</td> <td>产品类型ID,非必须</td> </tr> <tr> <td>cate_id</td> <td>int</td> <td>10</td> <td>false</td> <td>分类ID,非必须</td> </tr> <tr> <td>sign</td> <td>string</td> <td>JCXHF8S66BO6MPG5JNW2DGEJ9SB3F7ST</td> <td>true</td> <td>签名</td> </tr> </tbody> </table> <h3><a href="https://gitee.com/dayuanren/rechargev2doc/blob/master/V2.md#%E5%93%8D%E5%BA%94%E4%BD%93-3"></a>响应体</h3> <p>● 响应数据格式:JSON</p> <table> <thead> <tr> <th>参数名称</th> <th>类型</th> <th>示例</th> <th>不为空</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>errno</td> <td>string</td> <td>*</td> <td>true</td> <td>错误码,0代表成功,非0代表失败</td> </tr> <tr> <td>errmsg</td> <td>string</td> <td>*</td> <td>true</td> <td>错误描述</td> </tr> <tr> <td>data</td> <td>object</td> <td>*</td> <td>true</td> <td>errno=0时 返回数据</td> </tr> <tr> <td>⇥ id</td> <td>int</td> <td>*</td> <td>true</td> <td>分类ID</td> </tr> <tr> <td>⇥ cate</td> <td>string</td> <td>*</td> <td>true</td> <td>分类名称</td> </tr> <tr> <td>⇥ sort</td> <td>string</td> <td>*</td> <td>true</td> <td>排序</td> </tr> <tr> <td>⇥ type</td> <td>string</td> <td>*</td> <td>true</td> <td>产品类型ID</td> </tr> <tr> <td>⇥ products</td> <td>array</td> <td>*</td> <td>true</td> <td>产品列表</td> </tr> <tr> <td>⇥⇥ id</td> <td>string</td> <td>*</td> <td>true</td> <td>产品ID,下单报文中用此参数</td> </tr> <tr> <td>⇥⇥ name</td> <td>string</td> <td>*</td> <td>true</td> <td>产品名称</td> </tr> <tr> <td>⇥⇥ desc</td> <td>string</td> <td>*</td> <td>true</td> <td>产品说明</td> </tr> <tr> <td>⇥⇥ api_open</td> <td>string</td> <td>*</td> <td>true</td> <td>自动充值</td> </tr> <tr> <td>⇥⇥ isp</td> <td>string</td> <td>*</td> <td>true</td> <td>运营商集合(话费、流量有效),1移动,2电信,3联通,4虚拟</td> </tr> <tr> <td>⇥⇥ ys_tag</td> <td>string</td> <td>*</td> <td>true</td> <td>标签</td> </tr> <tr> <td>⇥⇥ price</td> <td>string</td> <td>*</td> <td>true</td> <td>价格,下单扣费金额</td> </tr> <tr> <td>⇥⇥ y_price</td> <td>string</td> <td>*</td> <td>true</td> <td>原价</td> </tr> <tr> <td>⇥⇥ max_price</td> <td>string</td> <td>*</td> <td>true</td> <td>封顶价格</td> </tr> <tr> <td>⇥⇥ type</td> <td>string</td> <td>*</td> <td>true</td> <td>产品类型ID</td> </tr> <tr> <td>⇥⇥ cate_name</td> <td>string</td> <td>*</td> <td>true</td> <td>产品分类名称</td> </tr> <tr> <td>⇥⇥ type_name</td> <td>string</td> <td>*</td> <td>true</td> <td>产品类型名称</td> </tr> </tbody> </table>

页面列表

ITEM_HTML