Your ROOT_URL in app.ini is http://159.89.207.79:3000/ but you are visiting http://9.cron.my.id:3000/tribikram/AplusAgency/blame/commit/6487ff884e44c7556e3fae9c13eb3584a61d7810/app/Models/Referral.php
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class Referral extends Model
|
|
|
|
{
|
|
|
|
use HasFactory;
|
|
|
|
|
|
|
|
public function referral_services()
|
|
|
|
{
|
|
|
|
return $this->hasMany(ReferralService::class,'referral_id');
|
|
|
|
}
|
|
|
|
}
|