* [task#125982,done,0.4h] adjust batch create task api data.

This commit is contained in:
caoyanyi
2024-08-22 13:09:18 +08:00
committed by 李阳
parent 255a08a303
commit 2d80d8bccf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class taskBatchCreateEntry extends entry
if(!$data) return $this->send400('error');
if(isset($data->data->result) and $data->data->result == 'fail') return $this->sendError(400, $data->data->message);
$tasks = $this->loadModel('task')->getByIdList($data->idList);
$tasks = $this->loadModel('task')->getByIdList((array)$data->idList);
return $this->send(200, array('task' => $tasks));
}
}