美滴滴新版后台在线接口文档

美滴滴新版后台在线接口文档


卡项项目列表

<p><strong>简要描述:</strong> </p> <ul> <li>卡项项目列表</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>Services/cardIndex</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET </li> </ul> <p><strong>参数:</strong> </p> <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;">page</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>分页数 默认从0开始</td> </tr> <tr> <td style="text-align: left;">nums</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>每页显示数量</td> </tr> <tr> <td style="text-align: left;">state</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>项目状态 全部:空 1上架项目 2下架项目</td> </tr> <tr> <td style="text-align: left;">key</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>搜索框搜索</td> </tr> <tr> <td style="text-align: left;">appcode</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>商户编号</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { 'brandList' =&gt; array (size=27) 'GZJLF001' =&gt; string '娇莉芙武汉' (length=15) 'GZJLF002' =&gt; string '娇莉芙广州' (length=15) 'HZJLF003' =&gt; string '娇莉芙杭州' (length=15) 'ZHJLF001' =&gt; string '娇莉芙珠海' (length=15) 'HZJLF001' =&gt; string '娇莉芙惠州' (length=15) 'CQJLF001' =&gt; string '娇莉芙重庆' (length=15) 'TEST0001' =&gt; string '美滴滴测试' (length=15) 'QYJLF001' =&gt; string '娇莉芙清远' (length=15) 'ZSJLF001' =&gt; string '娇莉芙中山江门' (length=21) 'XAJLF001' =&gt; string '娇莉芙西北' (length=15) 'NBJLF001' =&gt; string '兰芬时代' (length=12) 'HYGEIA01' =&gt; string '海茱雅' (length=9) 'CSM00001' =&gt; string '春尚美' (length=9) 'MLYG0001' =&gt; string '美丽阳光' (length=12) 'LLSM0001' =&gt; string '琉璃丝美' (length=12) 'MDD00001' =&gt; string '美滴滴' (length=9) 'ZLT00001' =&gt; string '姿丽堂' (length=9) 'COCO0001' =&gt; string 'COCO' (length=4) 'FTS00001' =&gt; string '馥田诗•维纳斯' (length=21) 'GLY00001' =&gt; string '格莱娅' (length=9) 'CEM00001' =&gt; string '姹而明' (length=9) 'MYBS0001' =&gt; string '美研博士' (length=12) 'YML00001' =&gt; string '易美链' (length=9) 'JLWY0001' =&gt; string '娇丽维漾' (length=12) 'YFF00001' =&gt; string '养发发' (length=9) 'ALE00001' =&gt; string '安丽尔' (length=9) 'XS000001' =&gt; string '修色SoSkin' (length=12) 'brands' =&gt; array (size=27) 0 =&gt; array (size=2) 'name' =&gt; string '娇莉芙武汉' (length=15) 'appcode' =&gt; string 'GZJLF001' (length=8) 1 =&gt; array (size=2) 'name' =&gt; string '娇莉芙广州' (length=15) 'appcode' =&gt; string 'GZJLF002' (length=8) 'list' =&gt; array (size=10) 0 =&gt; array (size=67) 'id' =&gt; string '49092' (length=5) 'industry_id' =&gt; string '1' (length=1) 'appcode' =&gt; string 'NBJLF001' (length=8) 'service_name' =&gt; string '储值卡' (length=9) 'service_time' =&gt; string '0' (length=1) 'effect' =&gt; string '' (length=0) 'service_desc' =&gt; null 'people_use' =&gt; null 'note' =&gt; null 'original_price' =&gt; string '0.00' (length=4) 'price' =&gt; string '0.00' (length=4) 'discount_price' =&gt; null 'tag' =&gt; null 'tag_bg' =&gt; null 'tag_note' =&gt; null 'push_position' =&gt; string '0' (length=1) 'sort' =&gt; string '9999' (length=4) 'comment_total' =&gt; string '0' (length=1) 'purchase_total' =&gt; string '1' (length=1) 'is_purchase' =&gt; string '0' (length=1) 'is_sync_purchase' =&gt; string '0' (length=1) 'is_change' =&gt; string '1' (length=1) 'purchase_time' =&gt; string '0' (length=1) 'purchase_endtime' =&gt; string '0' (length=1) 'state' =&gt; string '1' (length=1) 'createtime' =&gt; string '1562236750' (length=10) 'isPackage' =&gt; string 'N' (length=1) 'service_cover' =&gt; string '' (length=0) 'service_banner' =&gt; string '' (length=0) 'is_coupon' =&gt; string '1' (length=1) 'use_desc' =&gt; string '一禾转入' (length=12) 'is_test' =&gt; string 'N' (length=1) 'type' =&gt; string '3' (length=1) 'is_refund' =&gt; string '1' (length=1) 'remark' =&gt; null 'content' =&gt; null 'pay_method' =&gt; string '1,2,4,6' (length=7) 'is_share' =&gt; string '1' (length=1) 'is_yongjin' =&gt; string '1' (length=1) 'internal_friction' =&gt; string '0.00' (length=4) 'commission' =&gt; string '0' (length=1) 'expiry_type' =&gt; string '3' (length=1) 'expiry' =&gt; string '750' (length=3) 'is_service' =&gt; string '1' (length=1) 'is_select' =&gt; string '1' (length=1) 'is_member' =&gt; string '0' (length=1) 'is_number' =&gt; string '0' (length=1) 'start_time' =&gt; string '0' (length=1) 'end_time' =&gt; string '0' (length=1) 'gift_status' =&gt; string '0' (length=1) 'dir_pur_type' =&gt; string '充值赠送卡' (length=15) 'change_price' =&gt; string '0' (length=1) 'not_buy_id' =&gt; null 'is_time_show' =&gt; string '0' (length=1) 'show_starttime' =&gt; string '0' (length=1) 'show_endtime' =&gt; string '0' (length=1) 'custom_service_setting' =&gt; string '0' (length=1) 'original_id' =&gt; null 'card_money' =&gt; string '1520.00' (length=7) 'online_sale' =&gt; string '0' (length=1) 'all_service' =&gt; string '全部项目' (length=12) 'brandName' =&gt; string '兰芬时代' (length=12) 'porper_name' =&gt; null 'expiryTime' =&gt; string '购买后750天' (length=15) 'serviceContent' =&gt; string '全部项目' (length=12) 'brand_name' =&gt; string '兰芬时代' (length=12) 'industryStr' =&gt; string '美容' (length=6) 1 =&gt; array (size=67) 'id' =&gt; string '49087' (length=5) 'industry_id' =&gt; string '1' (length=1) 'appcode' =&gt; string 'NBJLF001' (length=8) 'service_name' =&gt; string '储值卡' (length=9) 'service_time' =&gt; string '0' (length=1) 'effect' =&gt; string '' (length=0) 'service_desc' =&gt; null 'people_use' =&gt; null 'note' =&gt; null 'original_price' =&gt; string '0.00' (length=4) 'price' =&gt; string '0.00' (length=4) 'discount_price' =&gt; null 'tag' =&gt; null 'tag_bg' =&gt; null 'tag_note' =&gt; null 'push_position' =&gt; string '0' (length=1) 'sort' =&gt; string '9999' (length=4) 'comment_total' =&gt; string '0' (length=1) 'purchase_total' =&gt; string '0' (length=1) 'is_purchase' =&gt; string '0' (length=1) 'is_sync_purchase' =&gt; string '0' (length=1) 'is_change' =&gt; string '1' (length=1) 'purchase_time' =&gt; string '0' (length=1) 'purchase_endtime' =&gt; string '0' (length=1) 'state' =&gt; string '1' (length=1) 'createtime' =&gt; string '1562062136' (length=10) 'isPackage' =&gt; string 'N' (length=1) 'service_cover' =&gt; string '' (length=0) 'service_banner' =&gt; string '' (length=0) 'is_coupon' =&gt; string '1' (length=1) 'use_desc' =&gt; string '范敏燕,把皮妙折成金额卡买360亮白,皮妙余8次,单价596一次共4768' (length=89) 'is_test' =&gt; string 'N' (length=1) 'type' =&gt; string '3' (length=1) 'is_refund' =&gt; string '1' (length=1) 'remark' =&gt; null 'content' =&gt; null 'pay_method' =&gt; string '1,2,4,6' (length=7) 'is_share' =&gt; string '1' (length=1) 'is_yongjin' =&gt; string '1' (length=1) 'internal_friction' =&gt; string '0.00' (length=4) 'commission' =&gt; string '0' (length=1) 'expiry_type' =&gt; string '3' (length=1) 'expiry' =&gt; string '750' (length=3) 'is_service' =&gt; string '1' (length=1) 'is_select' =&gt; string '1' (length=1) 'is_member' =&gt; string '0' (length=1) 'is_number' =&gt; string '0' (length=1) 'start_time' =&gt; string '0' (length=1) 'end_time' =&gt; string '0' (length=1) 'gift_status' =&gt; string '0' (length=1) 'dir_pur_type' =&gt; string '充值赠送卡' (length=15) 'change_price' =&gt; string '0' (length=1) 'not_buy_id' =&gt; null 'is_time_show' =&gt; string '0' (length=1) 'show_starttime' =&gt; string '0' (length=1) 'show_endtime' =&gt; string '0' (length=1) 'custom_service_setting' =&gt; string '0' (length=1) 'original_id' =&gt; null 'card_money' =&gt; string '4768.00' (length=7) 'online_sale' =&gt; string '0' (length=1) 'all_service' =&gt; string '全部项目' (length=12) 'brandName' =&gt; string '兰芬时代' (length=12) 'porper_name' =&gt; null 'expiryTime' =&gt; string '购买后750天' (length=15) 'serviceContent' =&gt; string '全部项目' (length=12) 'brand_name' =&gt; string '兰芬时代' (length=12) 'industryStr' =&gt; string '美容' (length=6) }</code></pre> <p><strong>返回参数说明</strong> </p> <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;">brandList</td> <td style="text-align: left;">array</td> <td>商户列表</td> </tr> <tr> <td style="text-align: left;">brands</td> <td style="text-align: left;">array</td> <td>商户列表</td> </tr> <tr> <td style="text-align: left;">list</td> <td style="text-align: left;">array</td> <td>数据列表</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML