|
@@ -55,7 +55,7 @@ class GiftCardQrCodeService
|
|
|
|
|
|
|
|
// Generate Qiniu cloud storage path
|
|
// Generate Qiniu cloud storage path
|
|
|
$remotePath = 'gift_card_qrcode/' . date('Ymd') . '/' . $tempFileName;
|
|
$remotePath = 'gift_card_qrcode/' . date('Ymd') . '/' . $tempFileName;
|
|
|
-
|
|
|
|
|
|
|
+ return $remotePath;
|
|
|
// Upload to Qiniu cloud
|
|
// Upload to Qiniu cloud
|
|
|
if (self::uploadToQiniu($tempFilePath, $remotePath)) {
|
|
if (self::uploadToQiniu($tempFilePath, $remotePath)) {
|
|
|
// Delete temp file
|
|
// Delete temp file
|