lizhen_gitee 3 rokov pred
rodič
commit
f7f3e36da4

+ 2 - 2
addons/poster/library/Image2.php

@@ -57,8 +57,8 @@ class Image2
                 "left"=> "125px",
                 "top"=> "300px",
                 "type"=> "img",
-                "width"=> "80px",
-                "height"=> "80px",
+                "width"=> "90px",
+                "height"=> "90px",
                 "src"=> $qrcode_url,
             ]
         ];

+ 2 - 2
application/api/controller/User.php

@@ -180,10 +180,10 @@ class User extends Api
         //下载页二维码,没必要保留
         $params = [
             'text' => config('site.domain_name').'/index/index/appdownload',
-            'size' => 100,
+            'size' => 90,
             'logo' => false,
             'label' => false,
-            'padding' => 0,
+            'padding' => 5,
         ];
         $qrCode = \addons\qrcode\library\Service::qrcode($params);
         $qrcode_path = 'uploads/hbplayer/'.date('Ymd');