From a72f4192aa06ce85fc2f3dc4ae65c1ce7127025a Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 23 Feb 2024 10:22:43 -0500 Subject: [PATCH] banner data --- www-api/app/Controllers/WrenchApi.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/WrenchApi.php b/www-api/app/Controllers/WrenchApi.php index 43cec23b..448f7b27 100644 --- a/www-api/app/Controllers/WrenchApi.php +++ b/www-api/app/Controllers/WrenchApi.php @@ -166,8 +166,14 @@ class WrenchApi extends BaseController break; case 'familybanners': $call_backend = false; - $local_out["result_list"] = $this->childBanners(); - $local_out["result_list777777"] = $this->childBanners(); + + $local_out = [ + 'result'=>'100', + 'data'=> $this->childBanners() + ]; + + // $local_out["result_list"] = $this->childBanners(); + // $local_out["result_list777777"] = $this->childBanners(); break; case 'familyrewardhx':