3.4、获取供应商信息
<h5>简要描述</h5>
<ul>
<li>获取商家信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>api/getSupplier</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": 4,
"industry_id": null,
"agent_id": 1,
"provinc_id": 1450,
"city_id": 1451,
"country_id": 1465,
"address": "延安路街道环城路168宾馆(环城路)",
"lat": "27.697975",
"lng": "106.944418",
"name": "伽罗",
"phone": "18883709072",
"status": 0,
"barter_id": null,
"desc": "互联网公司",
"note": null,
"country": {
"id": 1465,
"name": "红花岗区",
"detail_name": "贵州省.遵义市.红花岗区"
},
"agent": {
"id": 1,
"name": "饶晓",
"phone": "18216594510"
},
"operate": null,
"category": {
"id": 4,
"category_name": "洗衣机"
},
"barter_order": {
"id": 3,
"tag": "supplier",
"tag_id": 1,
"amount": 1000,
"sys_order": "supplier1202203241350021648101",
"pay_order": null,
"pay_method": null,
"pay_time": null,
"status": 0,
"desc": "供应商平台使用费"
},
"images": [
{
"id": 5,
"tag": "supplier",
"tag_id": 1,
"url": "resources/20220324/20220324134958.png",
"filed_name": "license_url",
"do_url": "http://sanfangyide.utopia-ww.com/resources/20220324/20220324134958.png"
},
{
"id": 6,
"tag": "supplier",
"tag_id": 1,
"url": "resources/20220324/20220324135001.png",
"filed_name": "door_url",
"do_url": "http://sanfangyide.utopia-ww.com/resources/20220324/20220324135001.png"
}
]
}</code></pre>