| 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 = [
|