Kirin hace 3 años
padre
commit
66d92f9e78
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/api/controller/user/UserBillController.php

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

@@ -262,7 +262,7 @@ class UserBillController
                     SystemAttachment::where(['name' => $name])->delete();
                 }
                 if (!$imageInfo) {
-                    $codeUrl = set_http_type($siteUrl . '?spread=' . $user['account'], 1);//二维码链接
+                    $codeUrl = set_http_type($siteUrl . '/?spread=' . $user['account'], 1);//二维码链接
                     if ($type == 3) $codeUrl = set_http_type($siteUrl . '/index?spread=' . $user['account'], 1);//二维码链接
                     $imageInfo = UtilService::getQRCodePath($codeUrl, $name);
                     if (is_string($imageInfo)) return app('json')->fail('二维码生成失败', ['error' => $imageInfo]);