Ken hace 1 semana
padre
commit
f6ea2365e7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/Services/LotteryImageService.php

+ 2 - 2
app/Services/LotteryImageService.php

@@ -24,8 +24,8 @@ class LotteryImageService
         $html = $this->buildHtml($records);
         App::setLocale($lang);
         // ========= 2. 保存HTML到临时文件 =========
-//        $htmlPath = storage_path("app/lottery_temp.html");
-        $htmlPath = base_path() . "/public/static/html/lottery_temp.html";
+        $htmlPath = storage_path("app/lottery_temp.html");
+//        $htmlPath = base_path() . "/public/static/html/lottery_temp.html";
 //        $htmlPath = base_path() . "/public/static/html/lottery_temp_{$group_language}.html";
         file_put_contents($htmlPath, $html);