dyjh hace 6 años
padre
commit
f729701a52
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumController.php

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

xqd
@@ -909,7 +909,7 @@ class AlbumController extends Controller
             $add_record['detail'] = json_encode($select_info);
             AlbumWatchRecord::create($add_record);
         }
-        $check_user = AlbumXyxUserModel::find($userAuth->id);
+        $check_user = AlbumUserModel::find($userAuth->id);
         $check_f = AlbumFavoriteModel::where([['user_id',$userAuth->id],['product_id',$data['product_id']]])->first();
         if(!$check_user||$check_f){
             $d = [