微同课后台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>如果设备订单类型为学校,则需要在详情下方展示:衍生订单列表 可根据buy_info下的buy_type判断</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;cate_id&amp;quot;: 7,             &amp;quot;status&amp;quot;: 1, // 状态:0=未卖,1=已卖 &amp;quot;d_status&amp;quot;: 1, // 设备状态:0=禁用,1=正常 &amp;quot;ban_cause&amp;quot;: &amp;quot;xx&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;create_time&amp;quot;: 1753977600, // 入库时间             &amp;quot;dofs_sign&amp;quot;: &amp;quot;xxx&amp;quot;, // 入库标识             &amp;quot;dofs_time&amp;quot;: 1753977600 // 出库时间         },         &amp;quot;buy_info&amp;quot;: { // 购买信息(device_info下status为0则该值为空)             &amp;quot;id&amp;quot;: 3,             &amp;quot;buy_type&amp;quot;: 1, // 订单类型:1=个人,2=学校             &amp;quot;user_id&amp;quot;: 40, // 购买用户id &amp;quot;user_name&amp;quot;: &amp;quot;夏天&amp;quot; // 购买用户昵称             &amp;quot;school_id&amp;quot;: 0, // 购买学校id &amp;quot;school_name&amp;quot;: &amp;quot;学校1&amp;quot;, // 购买学校名称(school_id有值时才会返回)             &amp;quot;mobile&amp;quot;: &amp;quot;18506838309&amp;quot;, // 下单手机号             &amp;quot;bind_mobile&amp;quot;: &amp;quot;18506838309&amp;quot;, // 绑定手机号             &amp;quot;source_udid&amp;quot;: &amp;quot;666&amp;quot;, // 订单来源设备             &amp;quot;cate_id&amp;quot;: 7, &amp;quot;cate_name&amp;quot;: &amp;quot;生物竞赛&amp;quot;, // 绑定学科             &amp;quot;order&amp;quot;: &amp;quot;111&amp;quot;, // 订单号             &amp;quot;price&amp;quot;: &amp;quot;4999.00&amp;quot;, // 下单金额             &amp;quot;pay_type&amp;quot;: 0, // 支付方式:0=系统,1=微信,2=支付宝             &amp;quot;serial_num&amp;quot;: &amp;quot;111&amp;quot;, // 三方流水号             &amp;quot;e_status&amp;quot;: 3, // 物流状态:1=待发货,2=已发货,3=已收货             &amp;quot;place_time&amp;quot;: 1755222623, // 下单时间             &amp;quot;ip&amp;quot;: &amp;quot;36.22.241.207&amp;quot;, // 下单IP &amp;quot;ip_address&amp;quot;: &amp;quot;浙江省杭州市&amp;quot; // 下单IP地址             &amp;quot;play_time&amp;quot;: 1755222623, // 支付时间         },         &amp;quot;expressage&amp;quot;: { // 物流信息(buy_info下e_status为1则该值为空)             &amp;quot;id&amp;quot;: 3,             &amp;quot;send_time&amp;quot;: 1755222623, // 发货时间             &amp;quot;e_num&amp;quot;: &amp;quot;111&amp;quot;, // 快递单号             &amp;quot;express_name&amp;quot;: &amp;quot;顺丰速递&amp;quot;, // 快递公司             &amp;quot;finish_time&amp;quot;: 1755222623, // 完成/签收时间             &amp;quot;admin_id&amp;quot;: 10,             &amp;quot;admin_name&amp;quot;: &amp;quot;彭帅&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