lcw image

This commit is contained in:
merdan 2023-02-17 13:50:14 +05:00
parent c88986ed73
commit b25e7d9fea
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ class ProductImage extends Model implements ProductImageContract
{
if($this->type == 'cdn'){
return env('TRENDYOL_CDN','https://cdn.dsmcdn.com').$this->path;
}elseif ($this->type == 'cdn'){
return $this->path;
}
return $this->url();
}