One Hat Cyber Team
Your IP :
18.221.20.252
Server IP :
104.21.112.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
gftag.com
/
app
/
Models
/
Edit File:
Wishlist.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Wishlist extends Model { protected $fillable = [ 'user_id', 'item_id' ]; public $timestamps = false; public function user() { return $this->belongsTo('App\Models\User')->withDefault(); } public function item() { return $this->belongsTo('App\Models\Item')->withDefault(); } public function getWishlistItemId($id) { return Wishlist::whereItemId($id)->first()->id; } }
Simpan