wesmiler преди 1 месец
родител
ревизия
d3cd896925
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      app/Services/Common/OrderService.php

+ 2 - 0
app/Services/Common/OrderService.php

@@ -106,6 +106,8 @@ class OrderService extends BaseService
             }
             if ($end && $start < $end) {
                 $query->where('create_time', '<=', strtotime($end));
+            }else if ($end && $start == $end) {
+                $query->where('create_time', '<', strtotime($end)+86400);
             }
         }