diff --git a/www-api/app/Models/ResultFormatter.php b/www-api/app/Models/ResultFormatter.php index e7e2b1c6..9343508e 100644 --- a/www-api/app/Models/ResultFormatter.php +++ b/www-api/app/Models/ResultFormatter.php @@ -88,6 +88,11 @@ class ResultFormatter extends Model return $out; } + private function uploadedBanner($fileType){ + + + return ''; + } public function processOutJson($in, $out) { @@ -108,6 +113,7 @@ class ResultFormatter extends Model // log_message('critical', "pref_value_key=>".$pref_value_key); // log_message('critical', "pref_id =>".$pref_id); + $fileType = $out["file_type_${key}"]; $res["result_list"][] = array( "file_uid" => $out["file_uid_${key}"], @@ -117,6 +123,7 @@ class ResultFormatter extends Model "file_type" => $out["file_type_${key}"], "file_size" => $out["file_size_${key}"], "file_name" => $out["file_name_${key}"], + "banner" => $this->uploadedBanner( $fileType ), ); } break;