no message

This commit is contained in:
hellcat 2026-07-27 17:04:44 +08:00
parent 6108e07632
commit 0e34269a4d

View File

@ -6,7 +6,7 @@ namespace App\Http\Controllers\Api\Nasa\V1;
use Illuminate\Http\Request;
use App\Http\Controllers\Api\Nasa\V1\Base\ListController;
final class CacheBaseController extends ListController
final class CachetgBaseController extends ListController
{
protected string $sModelPath = 'App\Models\Cachetg';
protected array $aFilterFields = [ // 允许where的字段不设视为全允许
@ -18,11 +18,11 @@ final class CacheBaseController extends ListController
protected array $aListFields = [ // list展示的字段和名字映射
'id' => 'id',
// 'code' => 'code',
// 'group_code'=> 'group_code',
// 'content' => 'content',
// 'status' => 'status',
// 'created_at'=> 'created_at'
'code' => 'code',
'group_code'=> 'group_code',
'content' => 'content',
'status' => 'status',
'created_at'=> 'created_at'
];
protected array $aValueStyle = [ // 特定文字渲染样式
@ -31,8 +31,8 @@ final class CacheBaseController extends ListController
];
protected array $aFieldTypes = [
// "content" => "json",
// "created_at"=> "time"
"content" => "json",
"created_at"=> "time"
];
protected array $aOrderBy = [