templateId = $templateId; $this->operate = $operate; } public function getUrl() { return self::REQUEST_URL; } public function getHttpParamers() { $paramSwitcher = ParamSwitcher::instanceParam(); $paramSwitcher->addParam('templateId', $this->templateId); $paramSwitcher->addParam('operate', $this->operate); $httpParameters = HttpParameter::httpPostParamer(); $httpParameters->setJsonParams(json_encode($paramSwitcher->getParams())); return $httpParameters; } /** * @return mixed */ public function getTemplateId() { return $this->templateId; } /** * @param mixed $templateId */ public function setTemplateId($templateId) { $this->templateId = $templateId; } /** * @return mixed */ public function getOperate() { return $this->operate; } /** * @param mixed $operate */ public function setOperate($operate) { $this->operate = $operate; } }