...
|
...
|
@@ -56,7 +56,7 @@ class ShareController extends WeChatBaseController |
|
|
}
|
|
|
$image = \think\Image::open(ROOT_PATH."public/upload/avatar/avatar_".$user_id.".jpeg");
|
|
|
$image->thumb(173,173,\think\Image::THUMB_FIXED)->save('./upload/avatar/avatar_'.$user_id.".png");
|
|
|
$image = \think\Image::open(ROOT_PATH."public/upload/qrcode/share_".$user_id.".png");
|
|
|
$image = \think\Image::open(ROOT_PATH."public/upload/qrcode/code_img".$user_id.".png");
|
|
|
$image->thumb(360,360,\think\Image::THUMB_FIXED)->save('./upload/qrcode/share_'.$user_id.".png");
|
|
|
$image = \think\Image::open(ROOT_PATH."public/white.png");
|
|
|
$image->water(ROOT_PATH."public/upload/qrcode/code_img".$user_id.".png",[195,725],100)
|
...
|
...
|
|