From 19a056d2ed101d362383202fcc603e2500e38db4 Mon Sep 17 00:00:00 2001
From: sqw123 <3151435339@qq.com>
Date: Sun, 07 Dec 2025 19:04:20 +0800
Subject: [PATCH] 去除多余空格
---
admin/app/common/service/qrcode/Base.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/admin/app/common/service/qrcode/Base.php b/admin/app/common/service/qrcode/Base.php
index 1ec1d4b..e6a63b5 100644
--- a/admin/app/common/service/qrcode/Base.php
+++ b/admin/app/common/service/qrcode/Base.php
@@ -177,7 +177,7 @@
$response->saveAs($savePath, $fileName);
}
- return $savePath . $fileName;
+ return $fileName;
}
/**
@@ -192,7 +192,7 @@
// 保存二维码到文件
$path = "{$savePath}{$fileName}";
$qrcode->writeFile($path);
- return $savePath .'/'. $fileName;;
+ return $fileName;;
}
}
\ No newline at end of file
--
Gitblit v1.9.2