WIN-2308041133\Administrator 3 weeks ago
parent
commit
d51a678c1f
1 changed files with 4 additions and 6 deletions
  1. 4 6
      app/api/controller/user/UserBillController.php

+ 4 - 6
app/api/controller/user/UserBillController.php

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