更新命名问题
This commit is contained in:
@@ -39,9 +39,9 @@ class Index extends BaseController
|
||||
|
||||
$rows = empty($param['limit']) ? get_config('app.page_size') : $param['limit'];
|
||||
$list = ProductList::withoutField('content,md_content')
|
||||
->where(function ($query) use ($map1, $map2, $map3, $map4) {
|
||||
$query->where($map1)->whereor($map2)->whereor($map3)->whereor($map4);
|
||||
})
|
||||
// ->where(function ($query) use ($map1, $map2, $map3, $map4) {
|
||||
// $query->where($map1)->whereor($map2)->whereor($map3)->whereor($map4);
|
||||
// })
|
||||
->where('delete_time', 0)
|
||||
->order('id desc')
|
||||
->paginate($rows, false, ['query' => $param])
|
||||
|
||||
Reference in New Issue
Block a user