fix delete

This commit is contained in:
joyqi 2021-09-03 12:40:02 +08:00
parent 5a2833c5aa
commit f40c5c178e

View File

@ -146,10 +146,9 @@ class Edit extends Comments implements ActionInterface
/**
* 删除评论
*
* @return int
* @throws Exception
*/
public function deleteComment(): int
public function deleteComment()
{
$comments = $this->request->filter('int')->getArray('coid');
$deleteRows = 0;
@ -200,8 +199,6 @@ class Edit extends Comments implements ActionInterface
/** 返回原网页 */
$this->response->goBack();
}
return $deleteRows;
}
/**