promotion二级页面
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>poromotion二级页面</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/login.php</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">action</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>promotion</td>
</tr>
<tr>
<td style="text-align: left;">lang</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>zh_cn:中文;khmer:柬文;en_us:英语</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>promotion id</td>
</tr>
<tr>
<td style="text-align: left;">page_no</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>分页</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 0,
"msg": "操作成功!",
"data": {
"promotion": {//活动图片
"id": "1",
"buyer_banner_picture": "",//顶部大图
"buyer_theme_picture": "",//xia
"ad_type": "0",//跳转类型(1:商品;2:店铺;3,直播;0:不跳转)
"mark_id": "0"//跳转id
},
"goods": [//shang
{
"goods_id": "1000106",
"goods_name": "得力中性笔",
"goods_number": "20",
"cat_id": "135",
"name": "得力中性笔",
"is_shipping": "0",
"free_return": 0,
"height_per": 1,
"shipping_price": 1,
"is_fast": 1,
"is_promote": null,
"is_new": "0",
"is_hot": "0",
"is_best": "0",
"goods_brief": "",
"market_price": "1.00",
"shop_price": "0.50",
"type": "0",
"promote_price": "",
"goods_thumb": "https://uat.zipomall.com/mobile/images/no_picture.gif",
"goods_img": "https://uatimages.zipomall.com/shopimage/Education_Office_Supplies/Office_StationerySupplies/CFG1000106/CP_CN/main400/CFG1000106_0.jpg",
"url": "goods.php?id=1000106",
"click_count": "0",
"sales_num": "0",
"comment_score": "0.0",
"supplier_id": "8",
"is_collet": 0
},
{
"goods_id": "1000121",
"goods_name": "ll",
"goods_number": "97",
"cat_id": "97",
"name": "ll",
"is_shipping": "0",
"free_return": 0,
"height_per": 1,
"shipping_price": 1,
"is_fast": 1,
"is_promote": null,
"is_new": "0",
"is_hot": "0",
"is_best": "0",
"goods_brief": "",
"market_price": "8.00",
"shop_price": "1.00",
"type": "0",
"promote_price": "",
"goods_thumb": "https://uat.zipomall.com/mobile/images/no_picture.gif",
"goods_img": "https://uatimages.zipomall.com/shopimage/Mother_Kids/Children_Clothing/CFG1000121/CP_CN/main400/CFG1000121_0.jpg",
"url": "goods.php?id=1000121",
"click_count": "74",
"sales_num": "21",
"comment_score": "5.0",
"supplier_id": "8",
"is_collet": 0
}
]
}
}</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;">code</td>
<td style="text-align: left;">int</td>
<td>0为操作成功,1为操作失败</td>
</tr>
<tr>
<td style="text-align: left;">30062</td>
<td style="text-align: left;">int</td>
<td>参数丢失</td>
</tr>
<tr>
<td style="text-align: left;">1</td>
<td style="text-align: left;">int</td>
<td>订单不存在</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>