content = $content; $this->apiParas["content"] = $content; } public function getContent() { return $this->content; } public function setTriggerCode($triggerCode) { $this->triggerCode = $triggerCode; $this->apiParas["trigger_code"] = $triggerCode; } public function getTriggerCode() { return $this->triggerCode; } public function getApiMethodName() { return "taobao.top.event.publish"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->content,"content"); RequestCheckUtil::checkNotNull($this->triggerCode,"triggerCode"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }