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

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


设置价格

<p><strong>简要描述:</strong> </p> <ul> <li>设置价格</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>Services/servicecity</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;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>用户id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ 'serviceinfo' =&gt; array (size=58) 'id' =&gt; string '44939' (length=5) 'industry_id' =&gt; string '1' (length=1) 'appcode' =&gt; string 'YML00001' (length=8) 'service_name' =&gt; string '斯美堡肩颈三温暖' (length=24) 'service_time' =&gt; string '35' (length=2) 'effect' =&gt; string '上海斯美堡门店专享' (length=27) 'service_desc' =&gt; string '&lt;p&gt;&lt;span style="font-size: 18px;"&gt;&lt;strong&gt;&lt;span style="font-family: 微软雅黑, sans-serif; color: rgb(255, 0, 0);"&gt;新人专享优惠活动:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:'微软雅黑',sans-serif"&gt;1&lt;/span&gt;&lt;span style="font-family:'微软雅黑',sans-serif"&gt;、新人下载APP注册,可得480元斯美堡肩颈三温暖项目券;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:'微软雅黑',sans-serif"&gt;2&lt;/span&gt;&lt;span style="font-family:'微软雅黑',sans'... (length=1707) 'people_use' =&gt; string '' (length=0) 'note' =&gt; string '' (length=0) 'original_price' =&gt; string '500.00' (length=6) 'price' =&gt; string '486.18' (length=6) 'discount_price' =&gt; string '0.00' (length=4) 'tag' =&gt; string '斯美堡' (length=9) 'tag_bg' =&gt; null 'tag_note' =&gt; null 'push_position' =&gt; string '0' (length=1) 'sort' =&gt; string '0' (length=1) 'comment_total' =&gt; string '0' (length=1) 'purchase_total' =&gt; string '0' (length=1) 'is_purchase' =&gt; string '99' (length=2) 'is_sync_purchase' =&gt; string '1' (length=1) 'is_change' =&gt; string '1' (length=1) 'purchase_time' =&gt; string '1529596800' (length=10) 'purchase_endtime' =&gt; string '1529856000' (length=10) 'state' =&gt; string '2' (length=1) 'createtime' =&gt; string '1529548523' (length=10) 'isPackage' =&gt; string 'N' (length=1) 'service_cover' =&gt; string '3164435284fd0ff8b24b16a87b70e95723bd2436.jpeg?imageMogr2/aut' (length=60) 'service_banner' =&gt; string '' (length=0) 'is_coupon' =&gt; string '1' (length=1) 'use_desc' =&gt; string '' (length=0) 'is_test' =&gt; string 'N' (length=1) 'type' =&gt; string '0' (length=1) 'is_refund' =&gt; string '1' (length=1) 'remark' =&gt; string '' (length=0) 'content' =&gt; null 'pay_method' =&gt; string '1,2' (length=3) '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 '1' (length=1) 'expiry' =&gt; string '0' (length=1) '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 '3' (length=1) '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 'list' =&gt; array (size=25) 0 =&gt; array (size=5) 'service_id' =&gt; string '44939' (length=5) 'city_name' =&gt; string '广州市' (length=9) 'original_price' =&gt; string '500.00' (length=6) 'price' =&gt; string '486.18' (length=6) 'state' =&gt; string '2' (length=1) 1 =&gt; array (size=5) 'service_id' =&gt; string '44939' (length=5) 'city_name' =&gt; string '深圳市' (length=9) 'original_price' =&gt; string '500.00' (length=6) 'price' =&gt; string '486.18' (length=6) 'state' =&gt; int 1 }</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;">serviceinfo</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> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML