获取设备信息(服务商)
<h5>简要描述</h5>
<ul>
<li>获取设备信息(服务商)</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/cigarette/mini/getInitInfoByDeviceMac</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;">keyWord</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>筛选条件(设备名称/设备ID)</td>
</tr>
<tr>
<td style="text-align: left;">pageNumber</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>查询条数</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"msg": "获取列表",
"obj": {
"content": [
{
"id": "1385559793802559488",
"deviceType": 5,
"orderCount": 0,
"storeId": "1385559793370546177",
"storeName": null,
"merchantName": "大马鹿",
"companyName": null,
"deviceName": "1211111322",
"deviced": null,
"deviceMac": "1211111322",
"actPayPrice": 0,
"mode": null,
"merchantId": "1385559793366351872",
"status": 2,
"type": 2,
"electricity": null
},
{
"id": "1385557075395227648",
"deviceType": 5,
"orderCount": 0,
"storeId": "1385557062434828288",
"storeName": null,
"merchantName": "测试wwwwwwwww",
"companyName": null,
"deviceName": "123111112",
"deviced": null,
"deviceMac": "12111113",
"actPayPrice": 0,
"mode": null,
"merchantId": "1385552612424912896",
"status": 2,
"type": null,
"electricity": null
},
{
"id": "1385117536073064448",
"deviceType": 5,
"orderCount": 0,
"storeId": "1380751613894004736",
"storeName": null,
"merchantName": "汇刷电子烟商户",
"companyName": null,
"deviceName": "JJ2104210001",
"deviced": null,
"deviceMac": "210421000100",
"actPayPrice": 0,
"mode": 1,
"merchantId": "1380751613562654720",
"status": 1,
"type": 2,
"electricity": 0
},
{
"id": "1385117349128740864",
"deviceType": 5,
"orderCount": 2,
"storeId": "1380751613894004736",
"storeName": null,
"merchantName": "汇刷电子烟商户",
"companyName": null,
"deviceName": "JJ2104210000",
"deviced": null,
"deviceMac": "210421000000",
"actPayPrice": 0.02,
"mode": 1,
"merchantId": "1380751613562654720",
"status": 1,
"type": 2,
"electricity": 0
},
{
"id": "1383286018350817280",
"deviceType": 5,
"orderCount": 0,
"storeId": "1383261387684982784",
"storeName": null,
"merchantName": "汇刷电子烟商户",
"companyName": null,
"deviceName": "测试3",
"deviced": null,
"deviceMac": "12345",
"actPayPrice": 0,
"mode": null,
"merchantId": "1380751613562654720",
"status": 1,
"type": 1,
"electricity": 0
},
{
"id": "1209113093341302710",
"deviceType": 5,
"orderCount": 49,
"storeId": "1380751613894004736",
"storeName": null,
"merchantName": "汇刷电子烟商户",
"companyName": null,
"deviceName": "JJ21040000",
"deviced": "JJ21040000",
"deviceMac": "000000000421",
"actPayPrice": 1.53,
"mode": 1,
"merchantId": "1380751613562654720",
"status": 1,
"type": 2,
"electricity": 0
}
],
"last": true,
"totalElements": 6,
"totalPages": 1,
"sort": [
{
"direction": "DESC",
"property": "createTime",
"ignoreCase": false,
"nullHandling": "NATIVE",
"ascending": false,
"descending": true
}
],
"first": true,
"numberOfElements": 6,
"size": 10,
"number": 0
}
}</code></pre>