正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -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 | * 图片上传 |
-
请 注册 或 登录 后发表评论