|
...
|
...
|
@@ -23,6 +23,8 @@ class FileManage extends Base |
|
|
|
public $appends = ['url'];
|
|
|
|
|
|
|
|
public function getUrlAttribute($value){
|
|
|
|
return getImageUrl($this->path);
|
|
|
|
$cosCdn = 'https://file.globalso.com/';
|
|
|
|
$value = $cosCdn.$value;
|
|
|
|
return getImageUrl($value);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|