fix 移除无用接口,数据权限增加tenant-admin过滤
This commit is contained in:
@@ -82,8 +82,7 @@ public class DevicesController : ControllerBase
|
||||
{
|
||||
return await _deviceConnectService.RegisterAsync(request);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设备分页
|
||||
/// </summary>
|
||||
@@ -174,16 +173,6 @@ public class DevicesController : ControllerBase
|
||||
return await _deviceService.GetDeviceNumberAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取考勤设备详情列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("attendancestotal")]
|
||||
public async Task<Pagination<DevicePageResponse>> GetAttendanceTotalAsync([FromQuery] AttendanceTotalRequest request)
|
||||
{
|
||||
return await _deviceService.GetAttendanceTotalAsync(request);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取考勤在线/离线设备详情列表
|
||||
/// </summary>
|
||||
@@ -194,16 +183,6 @@ public class DevicesController : ControllerBase
|
||||
return await _deviceService.GetOnlineStatusPageAsync(request);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取近期30天考勤新增设备数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("recentnumbers")]
|
||||
public async Task<List<RecentNumberResponse>> GetRecentNumbersAsync()
|
||||
{
|
||||
return await _deviceService.GetRecentNumbersAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量导入设备信息
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user