* [perf story #69156] Adjust for get to and cc list.

This commit is contained in:
wangyidong
2024-11-06 17:04:02 +08:00
committed by 孙广明
parent d11e4bc8fe
commit 64da47992e
6 changed files with 30 additions and 28 deletions
+3 -2
View File
@@ -1012,15 +1012,16 @@ class taskTest
* Test get toList and ccList.
*
* @param int $taskID
* @param string $action
* @access public
* @return array|false
*/
public function getToAndCcListTest(int $taskID): array|false
public function getToAndCcListTest(int $taskID, string $action = ''): array|false
{
$task = $this->objectModel->getByID($taskID);
if(empty($task)) return false;
return $this->objectModel->getToAndCcList($task);
return $this->objectModel->getToAndCcList($task, $action);
}
/**