更新
This commit is contained in:
parent
fc15732888
commit
0ea34aeb82
@ -13,7 +13,8 @@ class ProductLibrary extends BaseController
|
||||
{
|
||||
[$page, $limit] = $this->getPage();
|
||||
$param = $this->request->param();
|
||||
$list = Db::name('product_library')->page($page)->limit($limit)->order('id desc')->select();
|
||||
$where=['is_del'=>0];
|
||||
$list = Db::name('product_library')->where($where)->page($page)->limit($limit)->order('id desc')->select();
|
||||
$count = Db::name('product_library')->count();
|
||||
return app('json')->success(['list' => $list, 'count' => $count]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user