From 049e1cc7d5174e5c2efb89db83aa991613373a86 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 20 Sep 2024 21:53:53 -0400 Subject: [PATCH] banner type --- wrenchboard/src/shared_tool/reco_egine.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wrenchboard/src/shared_tool/reco_egine.cc b/wrenchboard/src/shared_tool/reco_egine.cc index bcb225da..b4f81fd3 100644 --- a/wrenchboard/src/shared_tool/reco_egine.cc +++ b/wrenchboard/src/shared_tool/reco_egine.cc @@ -90,9 +90,9 @@ long WrenchHomeBanners(CVars in, CVars &out) { char vname[30]; long member_id = REQ_LONG(in, "member_id", 1, -1); int itm_count= 0; + if( RecoCheckOffers( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; } if( RecoStartMarketCardUS( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; } if( RecoStartMarketCard( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; } - if( RecoCheckOffers( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; } if( RecoPendingInterestCount( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; } if( RecoCheckFamilyLogin( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; } if( RecoCheckFamilyCount( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; } @@ -388,10 +388,11 @@ long RecoCheckOffers(int itm_count, CVars in, CVars &out ){ out[vname] = "icon1 imp_offers"; snprintf(vname, sizeof (vname), "banner_%05d", ic); - out[vname] ="banner-waiting.jpg"; + //out[vname] ="banner-waiting.jpg"; + out[vname] ="https://www.wrenchboard.com/assets/images/apps/banners/banner-waiting.jpg"; snprintf(vname, sizeof (vname), "banner_location_%05d", ic); - out[vname] ="LOCAL"; + out[vname] ="URL"; snprintf(vname, sizeof (vname), "link_path_%05d", ic); out[vname] = "mytask";