wesmiler hace 2 años
padre
commit
7baf711d49
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Services/Api/TaskService.php

+ 1 - 0
app/Services/Api/TaskService.php

@@ -248,6 +248,7 @@ class TaskService extends BaseService
      */
     public function updateTask($userId, $scene, $sourceId=0)
     {
+        RedisService::set("caches:task:temp_{$userId}_{$scene}_{$sourceId}", date('Y-m-d H:i:s'), 600);
         $taskList = $this->getTaskByScene($scene);
         if($taskList){
             $hasDay = false;