芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/app/Models/PaymentGateway.php
belongsTo('App\Models\Currency')->withDefault(); } public static function scopeHasGateway($curr) { return PaymentGateway::where('currency_id', 'like', "%\"{$curr}\"%")->get(); } public function convertAutoData(){ return json_decode($this->information,true); } public function getAutoDataText(){ $text = $this->convertAutoData(); return end($text); } public function showKeyword(){ $data = $this->keyword == null ? 'other' : $this->keyword; return $data; } }