fix my banner

This commit is contained in:
CHIEFSOFT\ameye
2024-07-19 20:35:32 -04:00
parent c3f45ee6e7
commit e28b4f6f82
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -276,6 +276,8 @@ define('WRENCHBOARD_ACCOUNT_HOMEBANNERS', 11200);
define('WRENCHBOARD_ACCOUNT_PLAYGROUND', 11201); define('WRENCHBOARD_ACCOUNT_PLAYGROUND', 11201);
define('WRENCHBOARD_ACCOUNT_RECENTS', 11202); define('WRENCHBOARD_ACCOUNT_RECENTS', 11202);
const WRENCHBOARD_FAMILY_HOMEBANNERS = 11203;
define('WRENCHBOARD_ACCOUNT_NOTIFICATIONS', 11205); define('WRENCHBOARD_ACCOUNT_NOTIFICATIONS', 11205);
const WRENCHBOARD_PICTURE_PROFILE = 11300; const WRENCHBOARD_PICTURE_PROFILE = 11300;
+1 -1
View File
@@ -27,7 +27,7 @@ class WrenchBanners extends BaseController
$raw_json = file_get_contents('php://input'); $raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true); $in = json_decode($raw_json, true);
$in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS; $in["action"] = WRENCHBOARD_FAMILY_HOMEBANNERS;
$endpoint = "FAMILY_BANNERS-". $in["uid"]; // str_pad($in["uid"], 12, "0", STR_PAD_LEFT); $endpoint = "FAMILY_BANNERS-". $in["uid"]; // 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 ){