dyjh il y a 6 ans
Parent
commit
852019b69d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumController.php

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

xqd
@@ -531,7 +531,7 @@ class AlbumController extends Controller
                 $goods->address = '';
             }
             $check_favorite = AlbumFavoriteModel::where([['user_id',$userAuth->id],['store_id',$store_id],['product_id',$goods['id']]])->first();
-           // dd($check_favorite);
+            dd($check_favorite);
             if($check_favorite){
                 $goods->is_favorite = 1;
                 $goods->favorite_id = $check_favorite->id;