dyjh 7 лет назад
Родитель
Сommit
44b89fa801
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      app/Http/Controllers/Api/V1/AlbumController.php

+ 1 - 2
app/Http/Controllers/Api/V1/AlbumController.php

xqd
@@ -2133,8 +2133,7 @@ class AlbumController extends Controller
             $goods = AlbumProductModel::where([['id',$goods_id]])->first();
             if($goods){
                 $count=  AlbumWatchRecord::where([['action',3],['store_id',$store_id],['detail',$val['detail']],['agent_id',$user_agent->id]])->count();
-                $add = AlbumWatchRecord::where([['action',3],['store_id',$store_id],['detail',$val['detail']],['agent_id',$user_agent->id]])->get();
-                dd($add);
+                
                 $arr[] = ['name'=>$goods->name,'count'=>$count];
             }
         }