正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -56,7 +56,7 @@ class ShareController extends WeChatBaseController | @@ -56,7 +56,7 @@ class ShareController extends WeChatBaseController | ||
56 | } | 56 | } |
57 | $image = \think\Image::open(ROOT_PATH."public/upload/avatar/avatar_".$user_id.".jpeg"); | 57 | $image = \think\Image::open(ROOT_PATH."public/upload/avatar/avatar_".$user_id.".jpeg"); |
58 | $image->thumb(173,173,\think\Image::THUMB_FIXED)->save('./upload/avatar/avatar_'.$user_id.".png"); | 58 | $image->thumb(173,173,\think\Image::THUMB_FIXED)->save('./upload/avatar/avatar_'.$user_id.".png"); |
59 | - $image = \think\Image::open(ROOT_PATH."public/upload/qrcode/share_".$user_id.".png"); | 59 | + $image = \think\Image::open(ROOT_PATH."public/upload/qrcode/code_img".$user_id.".png"); |
60 | $image->thumb(360,360,\think\Image::THUMB_FIXED)->save('./upload/qrcode/share_'.$user_id.".png"); | 60 | $image->thumb(360,360,\think\Image::THUMB_FIXED)->save('./upload/qrcode/share_'.$user_id.".png"); |
61 | $image = \think\Image::open(ROOT_PATH."public/white.png"); | 61 | $image = \think\Image::open(ROOT_PATH."public/white.png"); |
62 | $image->water(ROOT_PATH."public/upload/qrcode/code_img".$user_id.".png",[195,725],100) | 62 | $image->water(ROOT_PATH."public/upload/qrcode/code_img".$user_id.".png",[195,725],100) |
-
请 注册 或 登录 后发表评论