正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -85,8 +85,8 @@ class Share extends WechatBase | @@ -85,8 +85,8 @@ class Share extends WechatBase | ||
85 | //圆形的头像 | 85 | //圆形的头像 |
86 | $image = \think\Image::open(ROOT_PATH."public/white.png"); | 86 | $image = \think\Image::open(ROOT_PATH."public/white.png"); |
87 | $image->water($avatar_url,[150,40],100) | 87 | $image->water($avatar_url,[150,40],100) |
88 | - ->water(ROOT_PATH."public/bg$type.png") | ||
89 | - ->water($url,[300,500],100) | 88 | +// ->water(ROOT_PATH."public/bg$type.png") |
89 | +// ->water($url,[300,500],100) | ||
90 | ->save($savePath."poster_$user[id].png"); | 90 | ->save($savePath."poster_$user[id].png"); |
91 | return "./uploads/poster$type/poster_$user[id].png"; | 91 | return "./uploads/poster$type/poster_$user[id].png"; |
92 | } | 92 | } |
-
请 注册 或 登录 后发表评论