ACCOUNT_HOMEBANNERS

This commit is contained in:
CHIEFSOFT\ameye
2024-09-11 22:46:43 -04:00
parent afcc1b777f
commit 87a6f47c89
+2 -2
View File
@@ -44,8 +44,8 @@ class WrenchBanners extends BaseController
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$out =[];
$in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS ;
$endpoint = $in["action"]."-". $in["uuid"]; // str_pad($in["uid"], 12, "0", STR_PAD_LEFT);
$in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS;
$endpoint = "ACCOUNT_HOMEBANNERS-". $in["uuid"]; // 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);