SysAdContent
class SysAdContent extends Model mixin Eloquent
广告内容
Traits
对 filter 的封装, 进行页面返回
Filterable
Constants
ACTION_ROUTE |
|
ACTION_URL |
|
ACTION_NONE |
|
Properties
protected | $table | ||
protected | $fillable | ||
int | $id | id | |
string | $title | 广告标题 | |
string | $src | 地址 | |
int | $place_id | 广告位ID | |
string | $value | 动作值 | |
string | $introduce | 广告的介绍 | |
string|null | $end_at | 开始时间 | |
string|null | $start_at | 开始时间 | |
string | $note | 备注 | |
string | $action | 动作 | |
int | $list_order | 排序 | |
int | $is_enable | 是否启用[0: 不显示, 1:显示] |
|
Carbon|null | $created_at | ||
Carbon|null | $updated_at |
Methods
static JsonResponse
from
FilterTrait
static array|string
kvAction(null $key = null)
动作
static SysAdContent
filter(array $input = [], mixed $filter)
No description
static SysAdContent
newModelQuery()
No description
static SysAdContent
newQuery()
No description
static SysAdContent
static SysAdContent
paginateFilter(mixed $perPage, mixed $columns, mixed $pageName, mixed $page)
No description
static SysAdContent
query()
No description
static SysAdContent
simplePaginateFilter(mixed $perPage, mixed $columns, mixed $pageName, mixed $page)
No description
static SysAdContent
whereBeginsWith(mixed $column, mixed $value, mixed $boolean)
No description
static SysAdContent
whereEndsWith(mixed $column, mixed $value, mixed $boolean)
No description
static SysAdContent
whereLike(mixed $column, mixed $value, mixed $boolean)
No description
Details
in
FilterTrait at line 28
mixed
scopePageFilter(Builder $query, PageInfo $pageInfo)
No description
in
FilterTrait at line 41
static JsonResponse
paginationInfo(Model $Db, string|Closure $resource, array $append = [])
No description
at line 71
static array|string
kvAction(null $key = null)
动作
at line 43
static SysAdContent
filter(array $input = [], mixed $filter)
No description
at line 43
static SysAdContent
newModelQuery()
No description
at line 43
static SysAdContent
newQuery()
No description
at line 43
static SysAdContent
pageFilter(PageInfo $pageInfo)
No description
at line 43
static SysAdContent
paginateFilter(mixed $perPage, mixed $columns, mixed $pageName, mixed $page)
No description
at line 43
static SysAdContent
query()
No description
at line 43
static SysAdContent
simplePaginateFilter(mixed $perPage, mixed $columns, mixed $pageName, mixed $page)
No description
at line 43
static SysAdContent
whereBeginsWith(mixed $column, mixed $value, mixed $boolean)
No description
at line 43
static SysAdContent
whereEndsWith(mixed $column, mixed $value, mixed $boolean)
No description
at line 43
static SysAdContent
whereLike(mixed $column, mixed $value, mixed $boolean)
No description