logout
This commit is contained in:
@@ -2,9 +2,18 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Casts\Attribute;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
|
||||
class Cdr extends Model
|
||||
{
|
||||
protected $table = 'cdr';
|
||||
protected $table = 'asteriskcdrdb.cdr';
|
||||
|
||||
protected function recordingfile(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn($value) => $value == null ? null : url('/') . 'recordingfiles/' . $value
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user