public function qrcode($value='')
{
return \think\Response::create(file_get_contents('文件地址'))->code(200)->header(['Content-Type' => 'image/png']);
}
thinkphp5 输图片流
最新推荐文章于 2023-01-12 14:37:17 发布
public function qrcode($value='')
{
return \think\Response::create(file_get_contents('文件地址'))->code(200)->header(['Content-Type' => 'image/png']);
}