|
...
|
...
|
@@ -37,7 +37,8 @@ class ProductController extends BaseController |
|
|
|
$this->map['category_id'] = ['like','%'.$this->map['category_id'].'%'];
|
|
|
|
}
|
|
|
|
$this->map['project_id'] = $this->user['project_id'];
|
|
|
|
$filed = ['id', 'project_id', 'title', 'sort' ,'thumb', 'product_type' , 'route' ,'category_id', 'keyword_id', 'status', 'created_uid', 'created_at', 'updated_at'];
|
|
|
|
$filed = ['id', 'project_id', 'title', 'sort' ,'thumb', 'product_type' , 'route' ,
|
|
|
|
'category_id', 'keyword_id', 'status', 'created_uid', 'created_at', 'updated_at'];
|
|
|
|
$lists = $product->lists($this->map,$this->page,$this->row,$this->order,$filed);
|
|
|
|
if(!empty($lists['list'])){
|
|
|
|
foreach ($lists['list'] as $k=>$v){
|
...
|
...
|
|