dyjh 6 years ago
parent
commit
a6af270355
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Http/Controllers/Api/V1/AlbumController.php

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

xqd
@@ -2482,8 +2482,9 @@ class AlbumController extends Controller
                 ];
             }
         } else {
-            dd(11);
+
             $record = AlbumWatchRecord::where([['agent_id',$user_agent->id],['action',8],['store_id',$data['store_id']]])->get();
+            dd($record);
             foreach ($record as $key=>$val){
                 $goods = AlbumProductModel::where([['store_id',$data['store_id'].['id',$val->detail]]])->first();
                 $style = AlbumProductStyleModel::where([['store_id',$data['store_id'].['id',$goods->style]]])->first();