3 커밋 49f1e28c64 ... c095b88ab1

작성자 SHA1 메시지 날짜
  zmw c095b88ab1 修改路径 2 달 전
  zmw 3f7a9dd58c Merge remote-tracking branch 'origin/master' 2 달 전
  zmw ffb4721d53 修改路径 2 달 전
3개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Web/Recruit/IndexController.php
  2. 1 1
      app/Jobs/TicketJob.php
  3. 0 1
      app/Wechat/Official/Event/SubscribeEvent.php

+ 1 - 1
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -1061,7 +1061,7 @@ class IndexController extends WebBaseController
                 }
             }
         } catch (\Exception $e) {
-            error_log(serialize($data), 3, '/data/wwwroot/jucai/sms');
+            //error_log(serialize($data), 3, '/data/wwwroot/jucai/sms');
             return ['status' => 0, 'msg' => '数据有误,请联系客服'];
         }
 

+ 1 - 1
app/Jobs/TicketJob.php

@@ -613,6 +613,6 @@ class TicketJob implements ShouldQueue
         }
         $word_url = base_path() . "/storage/app/public/recruit/ticket/word/{$date}/{$name}/{$type}/*.docx";
         $pdf_url = base_path() . "/storage/app/public/recruit/ticket/pdf/{$date}/{$name}/{$type}";
-        shell_exec('export DISPLAY=:0.0 && export HOME=/data/wwwroot &&libreoffice --headless --convert-to pdf:writer_pdf_Export ' . $word_url . ' --outdir ' . $pdf_url);
+        shell_exec('export DISPLAY=:0.0 && export HOME=/www/wwwroot &&libreoffice --headless --convert-to pdf:writer_pdf_Export ' . $word_url . ' --outdir ' . $pdf_url);
     }
 }

+ 0 - 1
app/Wechat/Official/Event/SubscribeEvent.php

@@ -24,7 +24,6 @@ class SubscribeEvent implements EventInterface
      */
     public function handle(array $wechatUser, $user, array $payload)
     {
-        file_put_contents('/data/wwwroot/jucai/public/test.log',json_encode($payload));
         if (isset($payload['EventKey']) && Str::contains($payload['EventKey'], 'qrscene_')) {
             $key=str_replace("qrscene_", "", $payload['EventKey']);
             if ($key == 'LoginEvent') {