...
|
...
|
@@ -153,7 +153,7 @@ class Share extends WechatBase |
|
|
file_put_contents($savePath.$file_name,$code);
|
|
|
//等比放大缩小二维码
|
|
|
$image = \think\Image::open($savePath.$file_name);
|
|
|
$image->thumb(450, 450,\think\Image::THUMB_SCALING)->save($savePath.$file_name);
|
|
|
$image->thumb(470, 450,\think\Image::THUMB_SCALING)->save($savePath.$file_name);
|
|
|
}
|
|
|
return "./uploads/code_img/$file_name";
|
|
|
}
|
...
|
...
|
|