Ken 1 일 전
부모
커밋
c3995f1c2a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Services/LotteryImageService.php

+ 1 - 1
app/Services/LotteryImageService.php

@@ -22,7 +22,7 @@ class LotteryImageService
         // ========= 2. 保存HTML到临时文件 =========
         //        $htmlPath = storage_path("app/lottery_temp.html");
         $group_language = Config::where('field', 'group_language')->first()->val;
-        $htmlPath = base_path()."/public/static/html/lottery_temp_{$group_language}.html";
+        $htmlPath = base_path() . "/public/static/html/lottery_temp_{$group_language}.html";
         file_put_contents($htmlPath, $html);
 
         // ========= 3. 输出图片路径 =========