From 5abd8f403739b1f6c58aa5481a034b2ce2abbfe2 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 16 Oct 2024 22:28:30 -0400 Subject: [PATCH] wallet array --- www-api/app/Controllers/WrenchWallet.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index 06224d6f..5b4173c6 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -240,7 +240,7 @@ class WrenchWallet extends BaseController $local_url = "http://".$this->micro_service_net1.":3037/getkidswallets"; $out = $this->APIcall('GET', $local_url, $in); } -/* + $out["result_list"][] = [ "amount" => 0, "id" => 1, @@ -260,7 +260,7 @@ class WrenchWallet extends BaseController "banner" => 'https://www.wrenchboard.com/assets/images/apps/wallet/wallet-card.jpg', "icon" => 'https://www.wrenchboard.com/assets/images/apps/wallet/icon/card.png' ]; -*/ +/* */ $out["wallet_cards"] = []; return $this->respond( $this->summaryReturnData($in,$out), 200); } @@ -277,7 +277,7 @@ class WrenchWallet extends BaseController $out = $this->APIcall('GET', $local_url, $in); $this->saveCache($endpoint,$out,1500); } - /* + $out["result_list"][] = [ "amount" => 0, "id" => 1, @@ -335,7 +335,7 @@ class WrenchWallet extends BaseController "banner" => 'https://www.wrenchboard.com/assets/images/apps/wallet/wallet-point.jpg', "icon" => 'https://www.wrenchboard.com/assets/images/apps/wallet/icon/point.png' ]; - */ + /**/ log_message('critical', "***** ***** WrenchJobs::getWallet Ret "); return $this->respond( $this->summaryReturnData($in,$out), 200); }