作者 lyh

变更数据

@@ -366,7 +366,7 @@ class TranslateController extends BaseController @@ -366,7 +366,7 @@ class TranslateController extends BaseController
366 $count = 0; 366 $count = 0;
367 } else { 367 } else {
368 $cateRelateModel = new CategoryRelated(); 368 $cateRelateModel = new CategoryRelated();
369 - $count = $cateRelateModel->whereIn('cateid', $ids)->distinct('product_id')->count(); 369 + $count = $cateRelateModel->whereIn('cate_id', $ids)->distinct('product_id')->count();
370 } 370 }
371 } 371 }
372 $this->pageSixList($data,$count,$v,1,15); 372 $this->pageSixList($data,$count,$v,1,15);