作者 liyuhang

gx

@@ -77,10 +77,10 @@ class ImageController @@ -77,10 +77,10 @@ class ImageController
77 $header['Content-Length'] = $info['size']; 77 $header['Content-Length'] = $info['size'];
78 } 78 }
79 } 79 }
80 - $img_type = $info['type'];  
81 - $content = base64_encode($content);  
82 - $img_base64 = 'data:image/' . $img_type . ';base64,' . $content;  
83 - return response($img_base64, 200, $header); 80 +// $img_type = $info['type'];
  81 +// $content = base64_encode($content);
  82 +// $img_base64 = 'data:image/' . $img_type . ';base64,' . $content;
  83 + return response($content, 200, $header);
84 } 84 }
85 /** 85 /**
86 * 图片上传 86 * 图片上传