This commit is contained in:
omair saleh
2022-07-18 03:34:46 +08:00
parent e4af160ad2
commit 952333e5cb
@@ -136,7 +136,7 @@ class FetchOrderListsFromYdPortalProcessor
public function execute(?Carbon $start = null, ?Carbon $end = null)
{
try {
$start = $start ? $start : Carbon::now()->subdays(5);
$start = $start ? $start : Carbon::now()->subdays(10);
$startLimit = Carbon::parse('01-12-2021');
@@ -144,7 +144,7 @@ class FetchOrderListsFromYdPortalProcessor
$start = $startLimit;
}
$end = $end ? $end : Carbon::now()->subdays(1);
$end = $end ? $end : Carbon::now()->subdays(5);
$orderRequest = $this->fetchesDataFRomYDPortal->clientRequest('http://www.yd-wl.com/api/GetOrderList.ashx', 'GET', [
'begintime' => $start->timestamp,