Ken 6 ngày trước cách đây
mục cha
commit
2316761eae
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      app/Services/LotteryImageService.php

+ 3 - 0
app/Services/LotteryImageService.php

@@ -51,6 +51,9 @@ class LotteryImageService
         }
 
         // ========= 5. 返回访问URL =========
+        $m= new Message();
+        $m->json =Storage::url('lottery/' . $fileName);
+        $m->save();
         return Storage::url('lottery/' . $fileName);
     }