This commit is contained in:
tanghucheng
2023-08-17 09:45:28 +08:00
parent 51295d3f20
commit c9f08e3af8
+2
View File
@@ -1403,6 +1403,8 @@ class testcase extends control
*/
public function batchDelete($productID = 0)
{
$this->post->caseIDList = $this->post->caseIDList ? $this->post->caseIDList : array();
$this->post->sceneIDList = $this->post->sceneIDList ? $this->post->sceneIDList : array();
if($this->post->caseIDList || $this->post->sceneIDList)
{
$this->testcase->batchDelete($this->post->caseIDList, $this->post->sceneIDList);