* adjust for with xuanxuan.

This commit is contained in:
wangyidong
2018-12-21 15:02:48 +08:00
parent 391d407c9f
commit 89efeaca7f
6 changed files with 20 additions and 13 deletions
+2 -2
View File
@@ -246,8 +246,8 @@ class testcase extends control
$this->send($response);
}
setcookie('caseModule', 0, 0, $this->config->webRoot);
$response['locate'] = $this->createLink('testcase', 'browse', "productID={$this->post->product}&branch={$this->post->branch}");
setcookie('caseModule', (int)$this->post->module, 0, $this->config->webRoot);
$response['locate'] = $this->createLink('testcase', 'browse', "productID={$this->post->product}&branch={$this->post->branch}&browseType=all&param=0&orderBy=id_desc");
$this->send($response);
}
if(empty($this->products)) $this->locate($this->createLink('product', 'create'));