|
@@ -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]);
|