fix my banner
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 ){
|
||||||
|
|||||||
Reference in New Issue
Block a user