浏览代码

隐藏的不显示

zmw 2 月之前
父节点
当前提交
8b516c6e4d
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      app/Models/Feedback.php

+ 4 - 4
app/Models/Feedback.php

@@ -34,8 +34,8 @@ class Feedback extends Model
     protected $fillable = ['type','content','contact','audit','subsite_id'];
     protected $fillable = ['type','content','contact','audit','subsite_id'];
     protected $type = array(1=>'建议',2=>'意见',3=>'求助',4=>'投诉');
     protected $type = array(1=>'建议',2=>'意见',3=>'求助',4=>'投诉');
 
 
-    public function getTypeAttribute($value)
-    {
-        return $this->type[$value];
-    }
+//    public function getTypeAttribute($value)
+//    {
+//        return $this->type[$value];
+//    }
 }
 }