tp5自定义响应
2022-02-05 本文已影响0人
苍老师的眼泪
return response($qrCode->writeString(), 200, ['Content-Length' => strlen($qrCode->writeString())])->contentType('image/png');
return response($qrCode->writeString(), 200, ['Content-Length' => strlen($qrCode->writeString())])->contentType('image/png');