芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Models/SuperAdmin/Feature.php
belongsTo(LanguageSetting::class, 'language_setting_id'); } public function getImageUrlAttribute() { if ($this->type == 'image' && is_null($this->image)) { if ($this->title == 'Meet Your Business Needs') { return asset('saas/img/svg/mock-banner.svg'); } if ($this->title == 'Analyse Your Workflow') { return asset('saas/img/svg/mock-2.svg'); } if ($this->title == 'Manage your support tickets efficiently') { return asset('saas/img/svg/mock-1.svg'); } } if ($this->type == 'apps') { if(!is_null($this->image)){ return asset_url_local_s3('front/feature/' . $this->image); } if (strtolower($this->title) == 'onesignal') { return asset('saas/img/pages/onesignal.svg'); } if (strtolower($this->title) == 'paypal') { return asset('saas/img/pages/paypal.svg'); } if (strtolower($this->title) == 'slack') { return asset('saas/img/pages/slack-new-logo.svg'); } if (strtolower($this->title) == 'pusher') { return asset('saas/img/pages/pusher.svg'); } return asset('saas/img/pages/app-' . (($this->id) % 6) . '.png'); } return ($this->image) ? asset_url_local_s3('front/feature/' . $this->image) : asset('front/img/tools.png'); } }