|
@@ -313,7 +313,7 @@ class Index extends Base
|
|
|
->where($where)->order("id desc")->paginate(["page"=>$param['page'],"list_rows"=>$param['size']]);
|
|
|
$cat =new \app\admin\model\Cat();
|
|
|
$Brand =new \app\admin\model\Brand();
|
|
|
- $unit =new \app\admin\model\unit();
|
|
|
+ $unit =new \app\admin\model\Unit();
|
|
|
$account = new Account();
|
|
|
foreach ($list->items() as $item){
|
|
|
$item['cat_info'] =$cat->where(["id"=>$item['cat_id']])->value("search",'');
|