array(1=>'电话虚假(如空号、无人接听)',2=>'职介收费',3=>'虚假(如职位、待遇等虚假)',4=>'涉黄违法',5=>'网赚虚假(刷钻、刷信誉欺诈)',6=>'职介冒充',7=>'其他'), '2'=>array(8=>'广告简历(以宣传、买卖为目的的简历)',9=>'无意义简历(乱写、乱填)') ); public function getTypeIdAttribute($value) { return $this->report_type[$this->utype][$value]; } static function getReportTypes($value = '') { $report = new Report(); $all_reasons = $report->report_type; if ($value) { return $all_reasons[$value]; } else { return $all_reasons[1] + $all_reasons[2]; } } }