uid for cache

This commit is contained in:
CHIEFSOFT\ameye
2024-09-12 11:40:15 -04:00
parent c13fd16067
commit a6ea826dce
+2 -2
View File
@@ -48,8 +48,8 @@ class WrenchBanners extends BaseController
if (isset($in["uuid"]) && $in["uuid"] !='' ){
$in["uid"]=$in["uuid"];
}
$endpoint = "ACCOUNT_HOMEBANNERS-". $in["uuid"]; // str_pad($in["uid"], 12, "0", STR_PAD_LEFT);
$endpoint = "ACCOUNT_HOMEBANNERS-". $in["uid"]; // str_pad($in["uid"], 12, "0", STR_PAD_LEFT);
$out = $this->getCache($endpoint); // try find in cache
if ( count($out) == 0 ){
$ret = $this->wrenchboard->wrenchboard_api($in, $out);