/*
 * @Author: zy1125 1515706227@qq.com
 * @Date: 2023-10-18 10:46:30
 * @LastEditors: zy1125 1515706227@qq.com
 * @LastEditTime: 2023-12-22 14:06:54
 * @FilePath: \v3_yyz\src\request\api.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import { service, post } from './http'


// export const getClass = () => get("http://192.168.4.219:12397/ioc-server/wisdomClass/classroomStatistic")


export const getClass = () => service.get("/wisdomClass/classroomStatistic")





export const getDevice = () => service.get("/wisdomClass/deviceStatistic")

//视频转码
export const getvideo = (data) => service.post("/camera/getUrl",data)


export const getClassDetail = (deviceCode) => service.get(`/wisdomClass/deviceDetail/${deviceCode}`)

export const getVideoUrl = (data) => service.post(`/camera/getUrl`, data)

//单点登录ticket校验
export const getvalidateLogin = (params) => service.get(`/wisdomClass/validateLogin`, {params})



