dyjh 6 年之前
父節點
當前提交
852019b69d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;