dataLists(new CommunityCommentLists()); } public function updateStatus() { $params = (new CommunityCommentValidate())->post()->goCheck('status'); $result = CommunityCommentLogic::updateStatus($params); if (true === $result) { return $this->success('修改成功', [], 1, 1); } return $this->fail(CommunityCommentLogic::getError()); } public function delete() { $params = (new CommunityCommentValidate())->post()->goCheck('delete'); CommunityCommentLogic::delete($params); return $this->success('删除成功', [], 1, 1); } }