定位优先级设置
<h5>请求URL</h5>
<ul>
<li><code>{{url}}/commonApi/ouFu/updateLevel</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th>header</th>
<th>示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>authCode</td>
<td>{{authCode}}</td>
<td>是</td>
<td>string</td>
<td>授权码(杰佳通)提供</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code class="language-json">{
&quot;imei&quot;: &quot;866374069733741&quot;,
&quot;gpsLevel&quot;: 1,
&quot;wifiLevel&quot;: 2,
&quot;bleLevel&quot;: 3
}</code></pre>
<h5>请求json字段说明</h5>
<table>
<thead>
<tr>
<th>字段名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>imei</td>
<td>是</td>
<td>string</td>
<td>设备号</td>
</tr>
<tr>
<td>gpsLevel</td>
<td>是</td>
<td>string</td>
<td>gps定位优先级 (1 2 3)三个优先级之间不能重复</td>
</tr>
<tr>
<td>wifiLevel</td>
<td>是</td>
<td>string</td>
<td>wifi定位优先级 (1 2 3)</td>
</tr>
<tr>
<td>bleLevel</td>
<td>是</td>
<td>string</td>
<td>蓝牙定位优先级 (1 2 3)</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code class="language-json">{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: null,
&quot;isSuccess&quot;: true
}</code></pre>
<h5>失败返回示例</h5>
<pre><code class="language-json">{
&quot;code&quot;: 1009,
&quot;msg&quot;: &quot;设备未在线&quot;,
&quot;data&quot;: null,
&quot;isSuccess&quot;: false
}</code></pre>