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