作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

我的钱包

@@ -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 }