清除某台设备使用记录
<p><strong>服务:</strong>api-cloud
<strong>API: </strong>/user/clean
<strong>请求方式:</strong>POST
<strong>api开发者:</strong> 宇佳
<strong>简要描述:</strong>
此接口通过传入设备openId实现以下操作:</p>
<ol>
<li>解除所有家长端用户与openId的绑定关系</li>
<li>清除所属该openId的所有阅读记录</li>
<li>清除所属该openId的“[我的书架](<a href="https://www.showdoc.cc/visiontalk?page_id=2029050423234120">https://www.showdoc.cc/visiontalk?page_id=2029050423234120</a> "我的书架")”中所有书本
4.解绑后Openid会自动清除掉
5.只要设备ID不变,就不会重新计算激活数</li>
</ol>
<p><strong>参数:</strong></p>
<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;">openId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">与设备对应的唯一用户标识,在设备登录绘本app时会有返回</td>
<td>用户唯一标识</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code class="language-json">{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;ok&quot;,
&quot;data&quot;: null
}</code></pre>
<p><strong>返回数据参数说明</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">Int</td>
<td>返回消息类型 0=成功</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">String</td>
<td>返回消息</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">Object</td>
<td>无 (一定为null)</td>
</tr>
</tbody>
</table>