|
|
@@ -45,18 +45,4 @@ class Store extends BaseModel
|
|
|
{
|
|
|
return self::get($storeId, ['logoImage']);
|
|
|
}
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取列表数据
|
|
|
- * @param bool $isRecycle 是否在回收站
|
|
|
- * @return \think\Paginator
|
|
|
- * @throws \think\db\exception\DbException
|
|
|
- */
|
|
|
- public function getList(bool $isRecycle = false): \think\Paginator
|
|
|
- {
|
|
|
- return $this->where('is_recycle', '=', (int)$isRecycle)
|
|
|
- ->where('is_delete', '=', 0)
|
|
|
- ->order(['create_time' => 'desc', $this->getPk()])
|
|
|
- ->paginate(15);
|
|
|
- }
|
|
|
}
|