Kirin 2 years ago
parent
commit
33b1146612
1 changed files with 15 additions and 15 deletions
  1. 15 15
      app/api/controller/user/UserBillController.php

+ 15 - 15
app/api/controller/user/UserBillController.php

@@ -259,7 +259,7 @@ class UserBillController
                     SystemAttachment::where(['name' => $name])->delete();
                 }
                 if (!$imageInfo) {
-                     $qr_code = QrcodeService::getForeverQrcode('spread', $user['uid']);
+                    $qr_code = QrcodeService::getForeverQrcode('spread', $user['uid']);
                     if (isset($qr_code['url'])) {
                         $urlCode = $qr_code['url'];
                     } else {
@@ -296,23 +296,23 @@ class UserBillController
                         ),
                         'text' => array(
                             array(
-                                'text' => $user['nickname'],
-                                'left' => 190,
-                                'top' => 844,
+                                'text' => "邀请码:" . $user['uid'],
+                                'left' => 200,
+                                'top' => 1246,
                                 'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],     //字体文件
-                                'fontSize' => 16,             //字号
-                                'fontColor' => '40,40,40',       //字体颜色
+                                'fontSize' => 30,             //字号
+                                'fontColor' => '255,255,255',       //字体颜色
                                 'angle' => 0,
                             ),
-                            array(
-                                'text' => '邀请您加入' . sys_config('site_name'),
-                                'left' => 250,
-                                'top' => 880,
-                                'fontPath' => $rootPath . 'public' . DS . $filelink['Normal'],     //字体文件
-                                'fontSize' => 16,             //字号
-                                'fontColor' => '40,40,40',       //字体颜色
-                                'angle' => 0,
-                            )
+//                            array(
+//                                'text' => '邀请您加入' . sys_config('site_name'),
+//                                'left' => 250,
+//                                'top' => 880,
+//                                'fontPath' => $rootPath . 'public' . DS . $filelink['Normal'],     //字体文件
+//                                'fontSize' => 16,             //字号
+//                                'fontColor' => '40,40,40',       //字体颜色
+//                                'angle' => 0,
+//                            )
                         ),
                         'background' => $item['pic']
                     );