This commit is contained in:
dev-chiefworks
2022-04-17 20:33:22 -04:00
parent 8bf74af42e
commit 2e7f504355
+4 -16
View File
@@ -293,7 +293,8 @@ private function testCards(){
break;
case 'deletecard': $in["action"] = SAVVYEXT_USER_DELETECARD;
break;
case 'getslidecarddata':
case 'getdashcarddata':
$inx["action"] = SAVVY_USERCARD_DASHCARD;
log_message('critical', "INTO ++ API-WAS CALLED getdashcarddata************************************ =>".$endpoint );
@@ -306,21 +307,8 @@ private function testCards(){
log_message('critical', "OUT API-WAS CALLED getdashcarddata************************************ =>".$endpoint );
break;
case 'getslidecarddata':
$inx["action"] = SAVVY_USERSAPP_SLIDECARD;
$extension_call = false;
$cards = new \App\Models\userCards();
//loadSliderCard($in, $out);
$outX["action"] = $inx["action"];
$cards->loadSavedCard($inx, $outX);
$res = $this->processOutJson($outX, $outX);
log_message('critical', "INTO API-WAS CALLED user************************************ =>".$endpoint );
$this->logArray($inx);
log_message('critical', "OUT API-WAS CALLED user************************************ =>".$endpoint );
break;
case 'saveuserbudget':
$in["action"] = SAVVY_USER_SAVEBUDGET;
break;