|
|
@@ -218,18 +218,18 @@ class UserBillController
|
|
|
$posterInfo = '海报生成失败:(';
|
|
|
$config = array(
|
|
|
'image' => array(
|
|
|
- array( // 圆形头像
|
|
|
- 'url' => $avatarUrl,
|
|
|
- 'stream' => 0,
|
|
|
- 'left' => 300, // 居中位置:(750-150)/2 = 300
|
|
|
- 'top' => 400, // 上移:从640改为500
|
|
|
- 'right' => 0,
|
|
|
- 'bottom' => 0,
|
|
|
- 'width' => 150,
|
|
|
- 'height' => 150,
|
|
|
- 'opacity' => 100,
|
|
|
- 'circle' => true // 圆形蒙版
|
|
|
- ),
|
|
|
+// array( // 圆形头像
|
|
|
+// 'url' => $avatarUrl,
|
|
|
+// 'stream' => 0,
|
|
|
+// 'left' => 300, // 居中位置:(750-150)/2 = 300
|
|
|
+// 'top' => 400, // 上移:从640改为500
|
|
|
+// 'right' => 0,
|
|
|
+// 'bottom' => 0,
|
|
|
+// 'width' => 150,
|
|
|
+// 'height' => 150,
|
|
|
+// 'opacity' => 100,
|
|
|
+// 'circle' => true // 圆形蒙版
|
|
|
+// ),
|
|
|
array(
|
|
|
'url' => $urlCode, //二维码资源
|
|
|
'stream' => 0,
|
|
|
@@ -331,18 +331,18 @@ class UserBillController
|
|
|
$posterInfo = '海报生成失败:(';
|
|
|
$config = array(
|
|
|
'image' => array(
|
|
|
- array( // 圆形头像
|
|
|
- 'url' => $avatarUrl,
|
|
|
- 'stream' => 0,
|
|
|
- 'left' => 300, // 居中位置:(750-150)/2 = 300
|
|
|
- 'top' => 400, // 上移:从640改为500
|
|
|
- 'right' => 0,
|
|
|
- 'bottom' => 0,
|
|
|
- 'width' => 150,
|
|
|
- 'height' => 150,
|
|
|
- 'opacity' => 100,
|
|
|
- 'circle' => true // 圆形蒙版
|
|
|
- ),
|
|
|
+// array( // 圆形头像
|
|
|
+// 'url' => $avatarUrl,
|
|
|
+// 'stream' => 0,
|
|
|
+// 'left' => 300, // 居中位置:(750-150)/2 = 300
|
|
|
+// 'top' => 400, // 上移:从640改为500
|
|
|
+// 'right' => 0,
|
|
|
+// 'bottom' => 0,
|
|
|
+// 'width' => 150,
|
|
|
+// 'height' => 150,
|
|
|
+// 'opacity' => 100,
|
|
|
+// 'circle' => true // 圆形蒙版
|
|
|
+// ),
|
|
|
array(
|
|
|
'url' => $urlCode, //二维码资源
|
|
|
'stream' => 0,
|