no message

This commit is contained in:
hellcat 2026-07-27 16:39:35 +08:00
parent 8a43127846
commit 0ab55d3e1f
2 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,8 @@ final class ArticleCacheController extends ListController
];
protected array $aFieldTypes = [
"content" => "json"
"content" => "json",
"created_at"=> "time"
];
protected array $aOrderBy = [

View File

@ -54,6 +54,8 @@
$sShowValue = "<a class='text-info js-tom-modal-open-image' tom-modal-field='".$k."' tom-modal-save-id='".$id."'><span class='text-muted'>".$v."</span>";
$sShowValue .= "<img class='list-image-".$id."' style='max-height:300px;' src='".$aCustom['sImagePath'].'/'.$v."'></a>";
// $sShowValue .= "<input hidden class='image_path' value='".$aCustom['sImagePath']."'></a>";
} else if ($sValueType == 'time') {
$sShowValue = date("Y-m-d H:i:s", $v);
}
return $sShowValue;