...
|
...
|
@@ -60,7 +60,7 @@ class Share extends WechatBase |
|
|
$code_img = $this->get_code_img($user_id);
|
|
|
//等比放大缩小二维码
|
|
|
$image = \think\Image::open($code_img);
|
|
|
$image->thumb(300, 300,\think\Image::THUMB_SCALING)->save($code_img);
|
|
|
$image->thumb(500, 500,\think\Image::THUMB_SCALING)->save($code_img);
|
|
|
//图像处理
|
|
|
$url = $this->processing($code_img,$user,$type);
|
|
|
$this->success('SUCCESS','',['url'=>$url]);
|
...
|
...
|
|