<img src="http://api.xsdggw.cn/api/ewm-1.php?text=二维码内容" alt="晓盒子API">
<?php
$text= $_GET['text'];
$src = "http://api.xsdggw.cn/api/ewm-1.php?text=".$text;
header('Content-type: image/png');
$res = imagecreatefromstring(file_get_contents($src));
imagepng($res);
imagedestroy($res);
?>