fix uid needed
This commit is contained in:
@@ -45,6 +45,10 @@ class WrenchBanners extends BaseController
|
|||||||
$in = json_decode($raw_json, true);
|
$in = json_decode($raw_json, true);
|
||||||
$out =[];
|
$out =[];
|
||||||
$in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS;
|
$in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS;
|
||||||
|
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["uuid"]; // str_pad($in["uid"], 12, "0", STR_PAD_LEFT);
|
||||||
$out = $this->getCache($endpoint); // try find in cache
|
$out = $this->getCache($endpoint); // try find in cache
|
||||||
if ( count($out) == 0 ){
|
if ( count($out) == 0 ){
|
||||||
|
|||||||
Reference in New Issue
Block a user