NASER optimize login in hamkar app

This commit is contained in:
gholak tala
2026-04-01 10:58:08 +00:00
parent 30f1658074
commit 81b53123b9
+8 -1
View File
@@ -23,7 +23,14 @@ class Cnt extends Model
$mobile = self::where('key', 'goldir_mobile')->value('value');
$password = self::where('key', 'goldir_password')->value('value');
$goldir = Http::post('https://gold.ir/server/auth/login', [
$goldir = Http::withOptions([
'curl' => [
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
CURLOPT_TCP_FASTOPEN => 1,
]
])
->withoutVerifying()
->post('https://gold.ir/server/auth/login', [
'mobile' => $mobile,
'password' => $password,
'provider' => 'customer',