获取网点详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取网点详情接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/store/channel/get-store-detail</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;">custNo</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>渠道商户号</td>
</tr>
<tr>
<td style="text-align: left;">storeNo</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> {
"code": 600,
"msg": "获取成功",
"result": {
"cust_no": "gl00013599", // 门店商户号
"user_tel": "15860332621", // 门店电话
"store_name": "张悦玲", // 门店店主名
"province": "福建省", //所在省
"city": "厦门市", //所在市
"area": "思明区", // 所在区
"address": "福建省厦门市思明区莲岳路63号靠近联谊广场", // 详细地址
"create_time": "2018-11-07 14:16:13", // 开户时间
"date_sell_amount": "0", // 日总销售量
"month_sell_amount": "1240", // 月总销售量
"all_sell_amount": "1240", // 总销售量
"machine_nums": "1", //机器设备数
"lottery_nums": "3", // 可售面额数
"machine": [ // 设备相关信息
{
"terminal_num": "PS100001", // 终端号
"machine_code": "868926033601029000000000", // 设备机器码
"lottery_id": "1", // 面额Id
"lottery_value": "5", //所售面额
"stock": "0", // 库存
"online_status": "1", // 在线状态 0:不在线 1:在线
"all_stock": "100", // 门店此面额总库存
"lottery_img": "http://114.115.148.102/img/lotteryImg/181105055245_98.jpg" // 面额图片
}
],
"lottery": [//可售面额信息
{
"lottery_id": "1", // 面额ID
"lottery_value": "5", // 面额值
"stock": "100", //库存
"lottery_img": "http://114.115.148.102/img/lotteryImg/181105055245_98.jpg" //面额图片
},
{
"lottery_id": "2",
"lottery_value": "10",
"stock": "59",
"lottery_img": "http://114.115.148.102/img/lotteryImg/181105054746_22.jpg"
},
{
"lottery_id": "7",
"lottery_value": "20",
"stock": "79",
"lottery_img": "http://114.115.148.102/img/lotteryImg/181105054538_65.jpg"
}
]
}
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>