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
@@ -194,9 +194,9 @@ class TahesabController extends Controller
// if($data['bank'] == true) {
// try {
// $response = Http::withoutVerifying()->timeout(10)->withHeaders([
// 'DBName' => $this->Config('tahesab_db'),
// 'DBName' => $this->ConfigService('tahesab_db'),
// 'Content-Type' => 'application/json',
// 'Authorization' => "Bearer " . $this->Config('tahesab_token'),
// 'Authorization' => "Bearer " . $this->ConfigService('tahesab_token'),
// ])->post((string)env('TAHESAB'), [
// "DoNewSanadVKHBank" => [
// 1,//Sabte_Kol_Or_Movaghat_1_0
@@ -209,7 +209,7 @@ class TahesabController extends Controller
// (int)$data['direction'],//IsDayaftAzMoshtariOrPardakhtBeMoshtari_0_1
// (int)$data['value'],//Mablagh
// $data['direction'] == 0 ? "شارژ حساب" : "برداشت از حساب",//Sharh
// (string)$this->Config('tahesab_bank_account'), //Name_Bank
// (string)$this->ConfigService('tahesab_bank_account'), //Name_Bank
// "$tahesab->id",//Code_Rahgiri
// -1,//Factor_Code
// -1,
@@ -234,9 +234,9 @@ class TahesabController extends Controller
// }else{
// try {
// $response = Http::withoutVerifying()->timeout(10)->withHeaders([
// 'DBName' => $this->Config('tahesab_db'),
// 'DBName' => $this->ConfigService('tahesab_db'),
// 'Content-Type' => 'application/json',
// 'Authorization' => "Bearer " . $this->Config('tahesab_token'),
// 'Authorization' => "Bearer " . $this->ConfigService('tahesab_token'),
// ])->post((string)env('TAHESAB'), [
// "DoNewSanadTalabBedehi" => [
// 1,//Sabte_Kol_Or_Movaghat_1_0,