addParam('role', $this->role); $paramSwitcher->addParam('operate',$this->operate); $paramSwitcher->addParam('users',$this->users); $httpParameter = HttpParameter::httpPostParamer(); $httpParameter->setJsonParams(json_encode($paramSwitcher->getParams())); return $httpParameter; } /** * @return mixed */ public function getRole() { return $this->role; } /** * @param mixed $role */ public function setRole($role) { $this->role = $role; } /** * @return mixed */ public function getOperate() { return $this->operate; } /** * @param mixed $operate */ public function setOperate($operate) { $this->operate = $operate; } /** * @return mixed */ public function getUsers() { return $this->users; } /** * @param mixed $users */ public function setUsers($users) { $this->users = $users; } }