dyjh 6 년 전
부모
커밋
a6af270355
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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();