Buffer Signup Data format
This commit is contained in:
@@ -82,6 +82,11 @@ class ResultFormatter extends Model
|
||||
|
||||
// id AS coupon_id, ca.code, ca.amount, ca.added::date,ca.status
|
||||
switch ($in["action"]) {
|
||||
case MOBILE_LOGIN:
|
||||
$out["prefs"]=[];
|
||||
$out["layout"]=[];
|
||||
$res = $out;
|
||||
break;
|
||||
case WRENCHBOARD_CARDS_GETCARDLIST:
|
||||
|
||||
$total = $out["total_record"];
|
||||
|
||||
@@ -76,6 +76,11 @@ function processOutJson($in, $out) {
|
||||
|
||||
// id AS coupon_id, ca.code, ca.amount, ca.added::date,ca.status
|
||||
switch ($in["action"]) {
|
||||
case MOBILE_LOGIN:
|
||||
$out["prefs"]=[];
|
||||
$out["layout"]=[];
|
||||
$res = $out;
|
||||
break;
|
||||
case WRENCHBOARD_CARDS_GETCARDLIST:
|
||||
|
||||
$total = $out["total_record"];
|
||||
|
||||
Reference in New Issue
Block a user