Kirin 4 年之前
父節點
當前提交
b66b05b6a7
共有 1 個文件被更改,包括 15 次插入24 次删除
  1. 15 24
      app/api/controller/user/UserBillController.php

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

@@ -318,35 +318,26 @@ class UserBillController
                             array(
                                 'url' => $urlCode,     //二维码资源
                                 'stream' => 0,
-                                'left' => 250,
-                                'top' => 765,
+                                'left' => 180,
+                                'top' => 820,
                                 'right' => 0,
                                 'bottom' => 0,
-                                'width' => 250,
-                                'height' => 250,
+                                'width' => 200,
+                                'height' => 200,
                                 'opacity' => 100
                             )
                         ),
-//                        'text' => array(
-//                            array(
-//                                'text' => $user['nickname'],
-//                                'left' => 250,
-//                                'top' => 840,
-//                                'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],     //字体文件
-//                                '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,
-//                            )
-//                        ),
+                        'text' => array(
+                            array(
+                                'text' => '邀请码:' . $user['invite_code'],
+                                'left' => 250,
+                                'top' => 840,
+                                'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],     //字体文件
+                                'fontSize' => 16,             //字号
+                                'fontColor' => '40,40,40',       //字体颜色
+                                'angle' => 0,
+                            ),
+                        ),
                         'background' => $item['pic']
                     );
                     $resWap = $resWap && $posterInfo = UtilService::setSharePoster($config, 'wap/spread/poster');