Ken hace 1 semana
padre
commit
2316761eae
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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);
     }