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