根據時間 進行判斷

This commit is contained in:
威勝 張 2024-05-16 13:18:20 +08:00
parent 6df79ec277
commit c42eb41650

View File

@ -284,7 +284,7 @@ namespace Parking_space_WebAPI.Controllers
select c).FirstOrDefaultAsync(); select c).FirstOrDefaultAsync();
if (out_car_data != null && out_car_data.out_time > time_30s_ago) if (out_car_data != null && out_car_data.out_time > time_30s_ago)
{ {
return Ok(); return Ok(out_car_data);
} }
// 新增資料 // 新增資料