APP设备移除
<h1>方糖App用户接口(解除设备Id)</h1>
<h2>1 解除设备ID</h2>
<h3>1.1 功能详细设计</h3>
<ul>
<li>概述:传入user_id 移除该用户绑定的设备信息(deviceId,deviceVersion,sysVersion)</li>
<li>保存至数据库返回给前端状态信息(200、500);</li>
</ul>
<h3>1.2 接口描述</h3>
<p>根据userid解除设备</p>
<h3>1.3 接口地址</h3>
<p><code>http://IP:PORT/sugar-admin/api/{channel}/app/user/removeDeviceId</code></p>
<h4>1.4请求报文</h4>
<table>
<thead>
<tr>
<th>参数</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>user_id</td>
<td>string</td>
<td>Y</td>
<td>用户id</td>
</tr>
</tbody>
</table>
<h4>1.5 请求样例</h4>
<pre><code class="language-javascript">"user_id"":"xxxxxxxxx"</code></pre>
<h3>11.1.6 响应报文</h3>
<p>无</p>
<h3>11.1.7 响应样例</h3>
<pre><code class="language-javascript">"code"":"200",
"success":true</code></pre>