added liman service

This commit is contained in:
2026-05-24 13:56:33 +03:30
parent 041e7307b7
commit 0a4d1219fa
9 changed files with 56 additions and 29 deletions
@@ -211,13 +211,13 @@ class WalletController extends Controller
}
/* try {
$response = Http::withHeaders([
'Authorization' => 'Bearer ' . $this->Config('liman_token')
'Authorization' => 'Bearer ' . $this->ConfigService('liman_token')
])->post('https://limangold.ir/kernel/customer/fin', [
'receive_bank_shaba' => $bCart->shaba_number,
'receive_bank_card' => $bCart->cart_number,
'receive_name' => $customer->name,
'receive_account_number' => $bCart->account_number,
'description' => $this->Config('name_fa') . ' | ' . $customer->mobile . ' | ' . $customer->name . ' | ' . $Withdraw->id,
'description' => $this->ConfigService('name_fa') . ' | ' . $customer->mobile . ' | ' . $customer->name . ' | ' . $Withdraw->id,
'amount' => '1000'
])->json();
if (isset($response['id'])) {