loustwo 4 лет назад
Родитель
Сommit
26254a6eab
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      app/Http/ApiControllers/InventoryController.php

+ 3 - 0
app/Http/ApiControllers/InventoryController.php

@@ -10,6 +10,7 @@ use App\InventoryAccountMission;
 use App\Services\AndroidInventoryService;
 use App\Services\InventoryAccountService;
 use Illuminate\Http\Request;
+use Illuminate\Support\Facades\Log;
 
 class InventoryController
 {
@@ -176,6 +177,7 @@ class InventoryController
      */
     public function stockInventory(Request $request)
     {
+        Log::error('执行开始',[now()->toDateTimeString()]);
         $task_item_id = $request->input("task_item_id");
         $verified_amount = $request->input("verified_amount");
         /**
@@ -196,6 +198,7 @@ class InventoryController
             $stockService->updateInventory($task_id);
         }
         $notStocktakingList=$service->getUnInventoryTaskList($task_id);
+        Log::error('执行结束',[now()->toDateTimeString()]);
         $this->response($notStocktakingList);
     }