import $req from '../request';

/**
 * 设备屏幕查询
 * 查询
 * @param params 请求参数
 */
export const getDeviceScreenControlApi = (simSerialNumber: string) =>
  $req({
    method: 'get',
    url: `/deviceTimeControl/${simSerialNumber}`,
  });
/**
 * 一键解锁屏
 * 解锁屏
 * @param params 请求参数
 */
export const lockDeviceScreenApi = (simSerialNumber: string) =>
  $req({
    method: 'post',
    url: `/deviceTimeControl/update/lock/${simSerialNumber}`,
  });
