add 获取访客门禁设备权限
This commit is contained in:
@@ -140,8 +140,8 @@ public class AppointmentsController : ControllerBase
|
||||
end = start.Date.AddDays(1).AddMilliseconds(-1);
|
||||
return await _appointmentService.GetSummaryAsync(factory, start, end);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 自动离职处理
|
||||
/// </summary>
|
||||
@@ -152,4 +152,13 @@ public class AppointmentsController : ControllerBase
|
||||
{
|
||||
await _appointmentService.AutoResignAsync();
|
||||
}
|
||||
|
||||
[AllowAnonymous]
|
||||
[IgnoreTenant]
|
||||
[HttpGet("visitor-devices")]
|
||||
public async Task<List<string>> GetVisitorDevicesAsync(long detailId)
|
||||
{
|
||||
return await _appointmentService.GetVisitorDevicesAsync(detailId);
|
||||
;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user