* Add api for resolve bug.

This commit is contained in:
zhengrunyu
2022-04-12 14:40:48 +08:00
parent 7d3a91ab39
commit 9cb5cb1134
3 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -1561,7 +1561,7 @@ class bug extends control
}
if(defined('RUN_MODE') && RUN_MODE == 'api')
{
return print(array('status' => 'success', 'data' => $bugID));
return $this->send(array('status' => 'success', 'data' => $bugID));
}
else
{