...
|
...
|
@@ -86,7 +86,7 @@ class Share extends WechatBase |
|
|
$image = \think\Image::open(ROOT_PATH."public/white.png");
|
|
|
$image->water($avatar_url,[311,46.5],100)
|
|
|
->water(ROOT_PATH."public/bg$type.png")
|
|
|
->water($url,[250,550],100)
|
|
|
->water($url,[200,570],100)
|
|
|
->save($savePath."poster_$user[id].png");
|
|
|
return "./uploads/poster$type/poster_$user[id].png";
|
|
|
}
|
...
|
...
|
|