Commit 91cd178e authored by jianghaiming's avatar jianghaiming

update:Set

parent 024370c3
......@@ -173,7 +173,7 @@ class GetImage
// 底部二维码
//$qr = new QR($qr_string);
$qr_size = 150;
$qr_size = 170;
// $qr->setSize($qr_size);
// $qr->setRoundBlockSize(QrCode::ROUND_BLOCK_SIZE_MODE_MARGIN);
// $qr_string = $qr->get();
......@@ -184,7 +184,7 @@ class GetImage
//$qr_string = $qr->get();
$qr_img = imagecreatefromstring($qr_string);
list($qr_w,$qr_h) = getimagesizefromstring($qr_string);
imagecopyresized($im, $qr_img, 0, 1065, 0, 0, $qr_size, $qr_size, $qr_size, $qr_size);
imagecopyresized($im, $qr_img, 0, 1065, 0, 0, $qr_size, $qr_size, 190, 190);
// 底部文字
imagettftext($im, 21,0, 295, 1160, 333333 ,$this->font_m, "长按扫码快速抢券");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment