瀏覽代碼

添加执行时间

loustwo 4 年之前
父節點
當前提交
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);
     }