微同课后台2

微同课后台管理系统接口(续)


设备详情

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>设备详情接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>device/device_info</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </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;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>设备id</td> </tr> </tbody> </table> <p>展示参考: <img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=3f99abea28ee2eb9f9b12158badd4c31&amp;amp;file=file.png" alt="" /> 如果设备订单类型为学校,则需要在详情下方展示:衍生订单列表 根据device_info下的type为2的情况下</p> <h5>返回示例</h5> <pre><code> {     &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;: &amp;quot;ok&amp;quot;,     &amp;quot;data&amp;quot;: {         &amp;quot;device_info&amp;quot;: { // 设备信息             &amp;quot;udid&amp;quot;: &amp;quot;222&amp;quot;, // 设备id             &amp;quot;i_udid&amp;quot;: &amp;quot;1-222&amp;quot;, // 设备内部id             &amp;quot;type&amp;quot;: 1, // 设备类型:1=标准版,2=pro版 &amp;quot;dofs_sign&amp;quot;: &amp;quot;xxx&amp;quot;, // 入库标识 &amp;quot;create_time&amp;quot;: 1753977600, // 入库时间             &amp;quot;dofs_time&amp;quot;: 1753977600 // 出库时间 &amp;quot;status&amp;quot;: 1, // 状态:0=未卖,1=已卖 &amp;quot;cate_id&amp;quot;: 7, &amp;quot;cate_name&amp;quot;: &amp;quot;生物竞赛&amp;quot;, // 默认分类(未卖为空)  &amp;quot;study_create_time&amp;quot;: 1751956994, // 激活时间(未卖未激活时为0,显示“未激活”) &amp;quot;d_status&amp;quot;: 1, // 设备状态:0=禁用,1=正常 &amp;quot;ban_cause&amp;quot;: &amp;quot;xx&amp;quot;, // 禁用原因 // 以下信息设备未激活时为空             &amp;quot;user_id&amp;quot;: 1, // 绑定用户id             &amp;quot;user_name&amp;quot;: &amp;quot;于是&amp;quot;, // 用户昵称             &amp;quot;mobile&amp;quot;: &amp;quot;18310041723&amp;quot;, // 用户手机号 &amp;quot;ip&amp;quot;: &amp;quot;60.186.179.235&amp;quot;, // 设备ip &amp;quot;ip_address&amp;quot;: &amp;quot;浙江省杭州市&amp;quot;, // 设备ip地址         },         &amp;quot;buy_info&amp;quot;: { // 购买信息(device_info下status为0则该值为空)             &amp;quot;id&amp;quot;: 3, // 订单ID(点击跳转至“订单详情页”)             &amp;quot;buy_type&amp;quot;: 1, // 订单类型:1=个人,2=学校 &amp;quot;buy_source&amp;quot;: 1, // 订单来源平台:1=自营,2=淘宝,3=京东,4=抖音,5=拼多多             &amp;quot;user_id&amp;quot;: 40, // 下单用户id &amp;quot;user_name&amp;quot;: &amp;quot;夏天&amp;quot;, // 下单用户昵称 &amp;quot;mobile&amp;quot;: &amp;quot;18506838309&amp;quot;, // 下单手机号             &amp;quot;bind_mobile&amp;quot;: &amp;quot;18506838309&amp;quot;, // 绑定手机号 &amp;quot;cate_name&amp;quot;: &amp;quot;生物竞赛&amp;quot;, // 下单分类 &amp;quot;place_time&amp;quot;: 1755222623, // 下单时间 &amp;quot;order&amp;quot;: &amp;quot;111&amp;quot;, // 订单号             &amp;quot;school_id&amp;quot;: 0, &amp;quot;source_udid&amp;quot;: &amp;quot;666&amp;quot;, // 来源设备 &amp;quot;school_name&amp;quot;: &amp;quot;学校1&amp;quot;, // 来源学校         }     } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML