public function cancelEmployment() { $this->checkLogin(); $Employment = new EmploymentModel(); $id = $_GET['id']; $status = $Employment->cancelEmployment($id); if ($status) { $this->success('取消申请成功!', 'personCenter'); } else { $this->error('取消申请失败!'); } }