根據時間 進行判斷
This commit is contained in:
parent
6df79ec277
commit
c42eb41650
@ -284,7 +284,7 @@ namespace Parking_space_WebAPI.Controllers
|
||||
select c).FirstOrDefaultAsync();
|
||||
if (out_car_data != null && out_car_data.out_time > time_30s_ago)
|
||||
{
|
||||
return Ok();
|
||||
return Ok(out_car_data);
|
||||
}
|
||||
|
||||
// 新增資料
|
||||
|
Loading…
Reference in New Issue
Block a user