...
|
...
|
@@ -85,8 +85,8 @@ class Share extends WechatBase |
|
|
//圆形的头像
|
|
|
$image = \think\Image::open(ROOT_PATH."public/white.png");
|
|
|
$image->water($avatar_url,[250,40],100)
|
|
|
// ->water(ROOT_PATH."public/bg$type.png")
|
|
|
// ->water($url,[300,500],100)
|
|
|
->water(ROOT_PATH."public/bg$type.png")
|
|
|
->water($url,[300,500],100)
|
|
|
->save($savePath."poster_$user[id].png");
|
|
|
return "./uploads/poster$type/poster_$user[id].png";
|
|
|
}
|
...
|
...
|
|