wip
This commit is contained in:
@@ -327,14 +327,6 @@ function vp_fetch_ClientInfoAll($model, $start_date, $end_date)
|
|||||||
|
|
||||||
function fetchCardTransactionFromAzat($passport_serie, $passport_id, $card_number_masked, $card_expire_date, $start_date, $end_date)
|
function fetchCardTransactionFromAzat($passport_serie, $passport_id, $card_number_masked, $card_expire_date, $start_date, $end_date)
|
||||||
{
|
{
|
||||||
info(['answers' => [
|
|
||||||
'passport_serie' => $passport_serie,
|
|
||||||
'passport_id' => $passport_id,
|
|
||||||
'card_number_masked' => $card_number_masked,
|
|
||||||
'card_expire_date' => $card_expire_date,
|
|
||||||
'start_date' => $start_date,
|
|
||||||
'end_date' => $end_date,
|
|
||||||
]]);
|
|
||||||
$response = DownloadCardTransaction::make()->fetchApi($passport_serie, $passport_id, $card_number_masked, $card_expire_date, $start_date, $end_date);
|
$response = DownloadCardTransaction::make()->fetchApi($passport_serie, $passport_id, $card_number_masked, $card_expire_date, $start_date, $end_date);
|
||||||
|
|
||||||
return Str::isJson($response)
|
return Str::isJson($response)
|
||||||
|
|||||||
@@ -58,8 +58,6 @@ class CardTransactionsController extends Controller
|
|||||||
end_date: $end_date,
|
end_date: $end_date,
|
||||||
);
|
);
|
||||||
|
|
||||||
info(['re' => $response]);
|
|
||||||
|
|
||||||
if ($response->errCode != 0) {
|
if ($response->errCode != 0) {
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'status' => false,
|
'status' => false,
|
||||||
@@ -68,10 +66,10 @@ class CardTransactionsController extends Controller
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return response()->rest([
|
return response()->json([
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'message' => 'a',
|
'message' => 'a',
|
||||||
'data' => [],
|
'data' => $response,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user