|
...
|
...
|
@@ -58,6 +58,8 @@ class ProductController extends BaseController |
|
|
|
if(!empty($v['category_id'])){
|
|
|
|
$categoryModel = new Category();
|
|
|
|
$category_data = $categoryModel->list(['id'=>['in',$v['category_id']]],'id',['title']);
|
|
|
|
var_dump($category_data);
|
|
|
|
die();
|
|
|
|
foreach ($category_data as $v1){
|
|
|
|
$v['category_id_text'] .= $v1['title'].',';
|
|
|
|
}
|
...
|
...
|
|