* Add the test file for updateImageStatus.

This commit is contained in:
xieqiyu
2023-12-28 09:20:06 +08:00
parent 970c1ccf10
commit 3da26a490e
4 changed files with 47 additions and 4 deletions
+2 -1
View File
@@ -490,7 +490,8 @@ class zanode extends control
{
if($_POST)
{
$this->zanode->updateImageStatus($imageID);
$data = form::data()->get();
$this->zanode->updateImageStatus($imageID, $data);
if(dao::isError()) return $this->sendError(dao::getError());
return $this->sendSuccess(array('load' => true));