|
@@ -295,7 +295,7 @@ class UserBillController
|
|
|
'url' => $urlCode, //二维码资源
|
|
'url' => $urlCode, //二维码资源
|
|
|
'stream' => 0,
|
|
'stream' => 0,
|
|
|
'left' => 164,
|
|
'left' => 164,
|
|
|
- 'top' => 650,
|
|
|
|
|
|
|
+ 'top' => 670,
|
|
|
'right' => 0,
|
|
'right' => 0,
|
|
|
'bottom' => 0,
|
|
'bottom' => 0,
|
|
|
'width' => 420,
|
|
'width' => 420,
|
|
@@ -306,8 +306,8 @@ class UserBillController
|
|
|
'text' => array(
|
|
'text' => array(
|
|
|
array(
|
|
array(
|
|
|
'text' => $user['nickname'],
|
|
'text' => $user['nickname'],
|
|
|
- 'left' => 200,
|
|
|
|
|
- 'top' => 650,
|
|
|
|
|
|
|
+ 'left' => 250,
|
|
|
|
|
+ 'top' => 660,
|
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'], //字体文件
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'], //字体文件
|
|
|
'fontSize' => 40, //字号
|
|
'fontSize' => 40, //字号
|
|
|
'fontColor' => '40,40,40', //字体颜色
|
|
'fontColor' => '40,40,40', //字体颜色
|
|
@@ -317,7 +317,7 @@ class UserBillController
|
|
|
'text' => '邀请您加入' . sys_config('site_name'),
|
|
'text' => '邀请您加入' . sys_config('site_name'),
|
|
|
// 'text' => '',
|
|
// 'text' => '',
|
|
|
'left' => 250,
|
|
'left' => 250,
|
|
|
- 'top' => 680,
|
|
|
|
|
|
|
+ 'top' => 700,
|
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'], //字体文件
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'], //字体文件
|
|
|
'fontSize' => 40, //字号
|
|
'fontSize' => 40, //字号
|
|
|
'fontColor' => '40,40,40', //字体颜色
|
|
'fontColor' => '40,40,40', //字体颜色
|
|
@@ -325,8 +325,6 @@ class UserBillController
|
|
|
)
|
|
)
|
|
|
),
|
|
),
|
|
|
'background' => $item['pic'],
|
|
'background' => $item['pic'],
|
|
|
- 'width' => 1000, // 调整背景图宽度
|
|
|
|
|
- 'height' => 1500, // 调整背景图高度
|
|
|
|
|
);
|
|
);
|
|
|
$resWap = $resWap && $posterInfo = UtilService::setSharePoster($config, 'wap/spread/poster');
|
|
$resWap = $resWap && $posterInfo = UtilService::setSharePoster($config, 'wap/spread/poster');
|
|
|
if (!is_array($posterInfo)) return app('json')->fail($posterInfo);
|
|
if (!is_array($posterInfo)) return app('json')->fail($posterInfo);
|