public function accountDel() { $id = trim($_GET['id']); $account = new AccountModel(); if ($account->delete($id)) { $this->success('删除成功!'); } else { $this->error('删除失败'); } }