wip
This commit is contained in:
1 parent
33ec2e11e6
commit
3c3d74ec34
2 files changed
+2
-12
No files matched your search
@@ -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 @@ public function lastMonth(): JsonResponse
|
|||||||
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 @@ public function lastMonth(): JsonResponse
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return response()->rest([
|
return response()->json([
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'message' => 'a',
|
'message' => 'a',
|
||||||
'data' => [],
|
'data' => $response,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user