dyjh 6 năm trước cách đây
mục cha
commit
2ca9dbaa24
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumPosterController.php

+ 1 - 1
app/Http/Controllers/Api/V1/AlbumPosterController.php

xqd
@@ -155,7 +155,7 @@ class AlbumPosterController extends Controller
             }
             $filename = $response->saveAs(public_path() . '/base/poster/QrCode/' . $store_id . "/", "$user_id.png");
             if ($filename) {
-                return "/base/poster/QrCode/" . $store_id . "/$user_id.png";
+                return public_path() . "/base/poster/QrCode/" . $store_id . "/$user_id.png";
             } else {
                 return false;
             }