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

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


实物修改

<p><strong>简要描述:</strong> </p> <ul> <li>实物修改</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>gift/edit</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> { 'brands' =&gt; array (size=27) 0 =&gt; array (size=2) 'appcode' =&gt; string 'GZJLF001' (length=8) 'name' =&gt; string '娇莉芙武汉' (length=15) 1 =&gt; array (size=2) 'appcode' =&gt; string 'GZJLF002' (length=8) 'name' =&gt; string '娇莉芙广州' (length=15) 'brandcode' =&gt; array (size=2) 0 =&gt; array (size=10) 'id' =&gt; string '16' (length=2) 'brandcode' =&gt; string 'DZ000012' (length=8) 'brand_name' =&gt; string '娇莉芙' (length=9) 'appcode' =&gt; string 'HZJLF001' (length=8) 'contacts' =&gt; string '谢代群' (length=9) 'telphone' =&gt; string '0752-2670838' (length=12) 'createtime' =&gt; string '1545039848' (length=10) 'edittime' =&gt; string '1553131358' (length=10) 'state' =&gt; string '1' (length=1) 'type' =&gt; string '1' (length=1) 1 =&gt; array (size=10) 'id' =&gt; string '21' (length=2) 'brandcode' =&gt; string 'DZ000017' (length=8) 'brand_name' =&gt; string '娇莉芙' (length=9) 'appcode' =&gt; string 'HZJLF001' (length=8) 'contacts' =&gt; string '谢仕群' (length=9) 'telphone' =&gt; string '0752-2670838' (length=12) 'createtime' =&gt; string '1545042028' (length=10) 'edittime' =&gt; string '1553131858' (length=10) 'state' =&gt; string '1' (length=1) 'type' =&gt; string '2' (length=1) 'beautyBrand' =&gt; array (size=2) 'brand_name' =&gt; string '娇莉芙' (length=9) 'brandcode' =&gt; string 'DZ000012' (length=8) 'industry' =&gt; array (size=2) 0 =&gt; array (size=16) 'id' =&gt; string '1' (length=1) 'brandcode' =&gt; string 'DZ000012' (length=8) 'brand_name' =&gt; string '娇莉芙' (length=9) 'appcode' =&gt; string 'HZJLF001' (length=8) 'contacts' =&gt; string '谢代群' (length=9) 'telphone' =&gt; string '0752-2670838' (length=12) 'createtime' =&gt; string '0' (length=1) 'edittime' =&gt; string '1566355589' (length=10) 'state' =&gt; string '1' (length=1) 'type' =&gt; string '1' (length=1) 'industry_id' =&gt; string '1' (length=1) 'industry_name' =&gt; string '美容' (length=6) 'bp_name' =&gt; string '美容院' (length=9) 'bt_name' =&gt; string '美容师' (length=9) 'industry_desc' =&gt; string '' (length=0) 'sort' =&gt; string '0' (length=1) 1 =&gt; array (size=16) 'id' =&gt; string '2' (length=1) 'brandcode' =&gt; string 'DZ000012' (length=8) 'brand_name' =&gt; string '娇莉芙' (length=9) 'appcode' =&gt; string 'HZJLF001' (length=8) 'contacts' =&gt; string '谢代群' (length=9) 'telphone' =&gt; string '0752-2670838' (length=12) 'createtime' =&gt; string '0' (length=1) 'edittime' =&gt; string '1546955689' (length=10) 'state' =&gt; string '1' (length=1) 'type' =&gt; string '1' (length=1) 'industry_id' =&gt; string '2' (length=1) 'industry_name' =&gt; string '养发' (length=6) 'bp_name' =&gt; string '养发馆' (length=9) 'bt_name' =&gt; string '养发师' (length=9) 'industry_desc' =&gt; string '' (length=0) 'sort' =&gt; string '1' (length=1) 'beautyIndustry' =&gt; array (size=2) 'industry_name' =&gt; string '美容' (length=6) 'industry_id' =&gt; string '1' (length=1) 'row' =&gt; array (size=10) 'id' =&gt; string '492' (length=3) 'appcode' =&gt; string 'HZJLF001' (length=8) 'gift_name' =&gt; string '60公分光子床' (length=17) 'gift_specification' =&gt; string '' (length=0) 'gift_price' =&gt; string '32800.00' (length=8) 'gift_nums' =&gt; string '1' (length=1) 'remark' =&gt; string '' (length=0) 'addtime' =&gt; string '2019-07-01 15:29:40' (length=19) 'state' =&gt; string '1' (length=1) 'edittime' =&gt; string '1970-01-01 08:00:00' (length=19) }</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;">brands</td> <td style="text-align: left;">array</td> <td>商户列表</td> </tr> <tr> <td style="text-align: left;">brandcode</td> <td style="text-align: left;">array</td> <td>品牌列表</td> </tr> <tr> <td style="text-align: left;">beautyBrand</td> <td style="text-align: left;">array</td> <td>门店所属品牌</td> </tr> <tr> <td style="text-align: left;">industry</td> <td style="text-align: left;">array</td> <td>行业列表</td> </tr> <tr> <td style="text-align: left;">beautyIndustry</td> <td style="text-align: left;">array</td> <td>门店所属行业</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML