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