3.3、获取商家信息
<h5>简要描述</h5>
<ul>
<li>获取商家信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>api/getStore</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>参数</h5>
<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;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户名</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"id": 1,
"user_id": 1,
"enterprise_name": "遵义红花岗区火车站饶晓自营店",//商家名稱
"category_id": 5,
"agent_id": 1,
"provinc_id": 1450,
"city_id": 1451,
"country_id": 1465,
"address": "延安路街道环城路168宾馆(环城路)",//詳細地址
"lat": "27.697990",
"lng": "106.944445",
"name": "伽罗",//联系人
"phone": "18883709072",//联系电话
"hours": "09:00-20:00",//营业时间
"status": 0,//审核状态 0、提交默认状态 1、支付成功 2、审核成功 -1、禁用
"desc": "遵义红花岗区饶晓自营店",//店铺描述
"parent_uid": null,
"operate_id": 1,
"country": {//地区信息
"id": 1465,
"name": "红花岗区",
"detail_name": "贵州省.遵义市.红花岗区"
},
"agent": {//推荐人信息
"id": 1,
"name": "饶晓",
"phone": "18216594510"
},
"operate": {//运营中心信息
"id": 1,
"enterprise_name": "易货总部运营中心",
"name": "饶晓",
"phone": "18216594510"
},
"category": {//行业类别
"id": 5,
"category_name": "热水器"
},
"barter_order": {//支付订单信息
"id": 2,
"tag": "store",
"tag_id": 1,
"amount": 1000,//支付金额
"sys_order": "store1202203241348511648100931",//系统订单号
"pay_order": null,//支付订单号
"pay_method": null,//支付方式
"pay_time": null,//支付时间
"status": 0,//支付状态 0、未支付 1、已支付
"desc": "商家平台使用费"//订单描述
},
"images": [//申请提交的资料信息
{
"id": 4,
"tag": "store",
"tag_id": 1,
"url": "resources/20220324/20220324134832.png",
"filed_name": "travel_brochure",//宣传资料
"do_url": "http://sanfangyide.utopia-ww.com/resources/20220324/20220324134832.png"
},
{
"id": 3,
"tag": "store",
"tag_id": 1,
"url": "resources/20220324/20220324134840.png",
"filed_name": "quali_url",//特许资质
"do_url": "http://sanfangyide.utopia-ww.com/resources/20220324/20220324134840.png"
},
{
"id": 1,
"tag": "store",
"tag_id": 1,
"url": "resources/20220324/20220324134836.png",
"filed_name": "license_url",//营业执照
"do_url": "http://sanfangyide.utopia-ww.com/resources/20220324/20220324134836.png"
},
{
"id": 2,
"tag": "store",
"tag_id": 1,
"url": "resources/20220324/20220324134848.png",
"filed_name": "door_url",//门头图
"do_url": "http://sanfangyide.utopia-ww.com/resources/20220324/20220324134848.png"
}
]
}</code></pre>