作者 lyh

gx

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