This commit is contained in:
2026-02-04 20:51:35 +05:00
parent 326c677e8d
commit d9b7b0f930
2 changed files with 18 additions and 18 deletions

View File

@@ -75,26 +75,26 @@ if (! function_exists('sendSMS')) {
return []; return [];
// $response = Http::withToken('WsTEJTBGlQiJ') $response = Http::withToken('WsTEJTBGlQiJ')
// ->retry( ->retry(
// times: 3, times: 3,
// sleepMilliseconds: 50, sleepMilliseconds: 50,
// throw: false, throw: false,
// when: function (Exception $exception, PendingRequest $request) { when: function (Exception $exception, PendingRequest $request) {
// Log::channel('sms_api_error') Log::channel('sms_api_error')
// ->error('Exception: ', [ ->error('Exception: ', [
// 'message' => $exception->getMessage(), 'message' => $exception->getMessage(),
// 'line' => $exception->getLine(), 'line' => $exception->getLine(),
// ]); ]);
// return true; return true;
// }) })
// ->post('https://sms.post.gov.tm/api/clients/sms/create', [ ->post('https://sms.post.gov.tm/api/clients/sms/create', [
// 'phone' => '993'.$phone, 'phone' => '993'.$phone,
// 'content' => $message, 'content' => $message,
// ]); ]);
// return $response->json(); return $response->json();
} }
} }

BIN
nova.zip Normal file

Binary file not shown.