no message
This commit is contained in:
parent
6108e07632
commit
0e34269a4d
@ -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 = [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user