作者 lyh

gx

... ... @@ -16,7 +16,7 @@ use Intervention\Image\Facades\Image;
class ImageController extends Controller
{
public $path = '/upload';//路径
public $path = '';//路径
public $config = '';//存储默认配置
... ... @@ -120,7 +120,6 @@ class ImageController extends Controller
$header['Content-Length'] = strlen($content);
}
}
$header['Content-Type'] = $info['mime'];
return response($content,200,$header);
}
... ...