tongshanglei 3 years ago
parent
commit
55eb49cc5b
1 changed files with 0 additions and 22 deletions
  1. 0 22
      catch/wind/model/get/FanGet.php

+ 0 - 22
catch/wind/model/get/FanGet.php

@@ -12,28 +12,6 @@ trait FanGet
         $wind_name =  Db::name('wind')->where('id',$wind_id)->value('name');
         return $wind_name;
     }
-    public function getImgAttr()
-    {
-        $data = $this->getData('img');
-        if(empty($data))
-        {
-            $data = [];
-        }
-        else
-        {
-            $data = json_decode($data,true);
-        }
-        return $data;
-
-    }
-    public function setImgAttr($value)
-    {
-        
-       return json_encode($value);
-    }
-
-
-       
 
     public function getModelNameAttr()
     {