Merge branch 'feature/doctemplate' into release/21.7.2
This commit is contained in:
+10
-11
@@ -1945,18 +1945,18 @@ class executionModel extends model
|
||||
* 根据产品/执行等信息获取任务列表
|
||||
* Get tasks by product/execution etc.
|
||||
*
|
||||
* @param int $productID
|
||||
* @param int $executionID
|
||||
* @param array $executions
|
||||
* @param string $browseType
|
||||
* @param int $queryID
|
||||
* @param int $moduleID
|
||||
* @param string $sort
|
||||
* @param object $pager
|
||||
* @param int $productID
|
||||
* @param int|array $executionID
|
||||
* @param array $executions
|
||||
* @param string $browseType
|
||||
* @param int $queryID
|
||||
* @param int $moduleID
|
||||
* @param string $sort
|
||||
* @param object $pager
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function getTasks(int $productID, int $executionID, array $executions, string $browseType, int $queryID, int $moduleID, string $sort, object $pager = null): array
|
||||
public function getTasks(int $productID, int|array $executionID, array $executions, string $browseType, int $queryID, int $moduleID, string $sort, object $pager = null): array
|
||||
{
|
||||
if(common::isTutorialMode()) return $this->loadModel('tutorial')->getTasks();
|
||||
|
||||
@@ -5349,9 +5349,8 @@ class executionModel extends model
|
||||
|
||||
$toList = $ccList = '';
|
||||
$toList = array_merge(array_keys($teamMembers), $whitelist);
|
||||
$toList = implode(',', array_keys($teamMembers));
|
||||
|
||||
return array($toList, $ccList);
|
||||
return array(implode(',', $toList), $ccList);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user