卡项项目列表
<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' =>
array (size=27)
'GZJLF001' => string '娇莉芙武汉' (length=15)
'GZJLF002' => string '娇莉芙广州' (length=15)
'HZJLF003' => string '娇莉芙杭州' (length=15)
'ZHJLF001' => string '娇莉芙珠海' (length=15)
'HZJLF001' => string '娇莉芙惠州' (length=15)
'CQJLF001' => string '娇莉芙重庆' (length=15)
'TEST0001' => string '美滴滴测试' (length=15)
'QYJLF001' => string '娇莉芙清远' (length=15)
'ZSJLF001' => string '娇莉芙中山江门' (length=21)
'XAJLF001' => string '娇莉芙西北' (length=15)
'NBJLF001' => string '兰芬时代' (length=12)
'HYGEIA01' => string '海茱雅' (length=9)
'CSM00001' => string '春尚美' (length=9)
'MLYG0001' => string '美丽阳光' (length=12)
'LLSM0001' => string '琉璃丝美' (length=12)
'MDD00001' => string '美滴滴' (length=9)
'ZLT00001' => string '姿丽堂' (length=9)
'COCO0001' => string 'COCO' (length=4)
'FTS00001' => string '馥田诗•维纳斯' (length=21)
'GLY00001' => string '格莱娅' (length=9)
'CEM00001' => string '姹而明' (length=9)
'MYBS0001' => string '美研博士' (length=12)
'YML00001' => string '易美链' (length=9)
'JLWY0001' => string '娇丽维漾' (length=12)
'YFF00001' => string '养发发' (length=9)
'ALE00001' => string '安丽尔' (length=9)
'XS000001' => string '修色SoSkin' (length=12)
'brands' =>
array (size=27)
0 =>
array (size=2)
'name' => string '娇莉芙武汉' (length=15)
'appcode' => string 'GZJLF001' (length=8)
1 =>
array (size=2)
'name' => string '娇莉芙广州' (length=15)
'appcode' => string 'GZJLF002' (length=8)
'list' =>
array (size=10)
0 =>
array (size=67)
'id' => string '49092' (length=5)
'industry_id' => string '1' (length=1)
'appcode' => string 'NBJLF001' (length=8)
'service_name' => string '储值卡' (length=9)
'service_time' => string '0' (length=1)
'effect' => string '' (length=0)
'service_desc' => null
'people_use' => null
'note' => null
'original_price' => string '0.00' (length=4)
'price' => string '0.00' (length=4)
'discount_price' => null
'tag' => null
'tag_bg' => null
'tag_note' => null
'push_position' => string '0' (length=1)
'sort' => string '9999' (length=4)
'comment_total' => string '0' (length=1)
'purchase_total' => string '1' (length=1)
'is_purchase' => string '0' (length=1)
'is_sync_purchase' => string '0' (length=1)
'is_change' => string '1' (length=1)
'purchase_time' => string '0' (length=1)
'purchase_endtime' => string '0' (length=1)
'state' => string '1' (length=1)
'createtime' => string '1562236750' (length=10)
'isPackage' => string 'N' (length=1)
'service_cover' => string '' (length=0)
'service_banner' => string '' (length=0)
'is_coupon' => string '1' (length=1)
'use_desc' => string '一禾转入' (length=12)
'is_test' => string 'N' (length=1)
'type' => string '3' (length=1)
'is_refund' => string '1' (length=1)
'remark' => null
'content' => null
'pay_method' => string '1,2,4,6' (length=7)
'is_share' => string '1' (length=1)
'is_yongjin' => string '1' (length=1)
'internal_friction' => string '0.00' (length=4)
'commission' => string '0' (length=1)
'expiry_type' => string '3' (length=1)
'expiry' => string '750' (length=3)
'is_service' => string '1' (length=1)
'is_select' => string '1' (length=1)
'is_member' => string '0' (length=1)
'is_number' => string '0' (length=1)
'start_time' => string '0' (length=1)
'end_time' => string '0' (length=1)
'gift_status' => string '0' (length=1)
'dir_pur_type' => string '充值赠送卡' (length=15)
'change_price' => string '0' (length=1)
'not_buy_id' => null
'is_time_show' => string '0' (length=1)
'show_starttime' => string '0' (length=1)
'show_endtime' => string '0' (length=1)
'custom_service_setting' => string '0' (length=1)
'original_id' => null
'card_money' => string '1520.00' (length=7)
'online_sale' => string '0' (length=1)
'all_service' => string '全部项目' (length=12)
'brandName' => string '兰芬时代' (length=12)
'porper_name' => null
'expiryTime' => string '购买后750天' (length=15)
'serviceContent' => string '全部项目' (length=12)
'brand_name' => string '兰芬时代' (length=12)
'industryStr' => string '美容' (length=6)
1 =>
array (size=67)
'id' => string '49087' (length=5)
'industry_id' => string '1' (length=1)
'appcode' => string 'NBJLF001' (length=8)
'service_name' => string '储值卡' (length=9)
'service_time' => string '0' (length=1)
'effect' => string '' (length=0)
'service_desc' => null
'people_use' => null
'note' => null
'original_price' => string '0.00' (length=4)
'price' => string '0.00' (length=4)
'discount_price' => null
'tag' => null
'tag_bg' => null
'tag_note' => null
'push_position' => string '0' (length=1)
'sort' => string '9999' (length=4)
'comment_total' => string '0' (length=1)
'purchase_total' => string '0' (length=1)
'is_purchase' => string '0' (length=1)
'is_sync_purchase' => string '0' (length=1)
'is_change' => string '1' (length=1)
'purchase_time' => string '0' (length=1)
'purchase_endtime' => string '0' (length=1)
'state' => string '1' (length=1)
'createtime' => string '1562062136' (length=10)
'isPackage' => string 'N' (length=1)
'service_cover' => string '' (length=0)
'service_banner' => string '' (length=0)
'is_coupon' => string '1' (length=1)
'use_desc' => string '范敏燕,把皮妙折成金额卡买360亮白,皮妙余8次,单价596一次共4768' (length=89)
'is_test' => string 'N' (length=1)
'type' => string '3' (length=1)
'is_refund' => string '1' (length=1)
'remark' => null
'content' => null
'pay_method' => string '1,2,4,6' (length=7)
'is_share' => string '1' (length=1)
'is_yongjin' => string '1' (length=1)
'internal_friction' => string '0.00' (length=4)
'commission' => string '0' (length=1)
'expiry_type' => string '3' (length=1)
'expiry' => string '750' (length=3)
'is_service' => string '1' (length=1)
'is_select' => string '1' (length=1)
'is_member' => string '0' (length=1)
'is_number' => string '0' (length=1)
'start_time' => string '0' (length=1)
'end_time' => string '0' (length=1)
'gift_status' => string '0' (length=1)
'dir_pur_type' => string '充值赠送卡' (length=15)
'change_price' => string '0' (length=1)
'not_buy_id' => null
'is_time_show' => string '0' (length=1)
'show_starttime' => string '0' (length=1)
'show_endtime' => string '0' (length=1)
'custom_service_setting' => string '0' (length=1)
'original_id' => null
'card_money' => string '4768.00' (length=7)
'online_sale' => string '0' (length=1)
'all_service' => string '全部项目' (length=12)
'brandName' => string '兰芬时代' (length=12)
'porper_name' => null
'expiryTime' => string '购买后750天' (length=15)
'serviceContent' => string '全部项目' (length=12)
'brand_name' => string '兰芬时代' (length=12)
'industryStr' => 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>