import { http } from '../request/request';

/**
 * 设备屏幕查询
 * 查询
 * @param params 请求参数
 */
export const getDeviceScreenControlApi = async (simSerialNumber: string) =>
  await http.get<any>(`/deviceTimeControl/${simSerialNumber}`);

/**
 * 一键解锁屏
 * 解锁屏
 * @param params 请求参数
 */
export const lockDeviceScreenApi = async (simSerialNumber: string) =>
  await http.post<any>(`/deviceTimeControl/update/lock/${simSerialNumber}`);
