mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-24 15:56:44 +08:00
Update StoreItem.php
This commit is contained in:
parent
26c81caec6
commit
b72817fe32
@ -29,6 +29,13 @@ class StoreItem extends Controller
|
|||||||
{
|
{
|
||||||
$this->title = '实体门店管理';
|
$this->title = '实体门店管理';
|
||||||
$query = $this->_query($this->table);
|
$query = $this->_query($this->table);
|
||||||
|
// code,name,cover,slider,username,phone,remark,sort,type,status,deleted,business_hours_start,business_hours_after
|
||||||
|
// region_province,region_city,region_area,region_address,region_longitude,region_latitude
|
||||||
|
// type 0 支持自提,1 不支持自提
|
||||||
|
// status 0 禁用,0 启用
|
||||||
|
// business_weeks_days // 每周天数
|
||||||
|
// business_hours_start // 开始时间
|
||||||
|
// business_hours_after // 结束时间
|
||||||
$query->like('name')->equal('status')->dateBetween('create_at');
|
$query->like('name')->equal('status')->dateBetween('create_at');
|
||||||
$query->where(['deleted' => 0])->order('sort desc,id desc')->page();
|
$query->where(['deleted' => 0])->order('sort desc,id desc')->page();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user