소스 검색

fix:后台修改

super-yimizi 2 달 전
부모
커밋
d3b6eb60f8
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      application/common/model/Feedback.php

+ 5 - 0
application/common/model/Feedback.php

@@ -27,6 +27,11 @@ class Feedback extends Model
     protected $append = [
 
     ];
+
+    public function setImagesAttr($value)
+    {
+        return json_encode($value);
+    }
     
     public function user()
     {