Explorar el Código

临时工申请系统 防止重复生成分配数据 添加日志

ANG YU hace 4 años
padre
commit
bc4df20520
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Jobs/LaborApplyRecordJob.php

+ 1 - 1
app/Jobs/LaborApplyRecordJob.php

@@ -38,7 +38,7 @@ class LaborApplyRecordJob implements ShouldQueue
      */
     public function handle()
     {
-        Log::debug("LaborApplyRecordJob isAppend = {$this->isAppend}");
+        Log::debug("LaborApplyRecordJob isAppend = " . ($this->isAppend + 1) . "");
         $response = $this->service->allocationLaborToLaborCompany($this->isAppend);
         if (!$response['success']) throw new WarningException($response['error_message']);
     }