campaignId; } /** * 设置活动id * @param Integer $campaignId * 此参数必填 */ public function setCampaignId( $campaignId) { $this->campaignId = $campaignId; } private $stdResult; public function setStdResult($stdResult) { $this->stdResult = $stdResult; if (array_key_exists ( "campaignId", $this->stdResult )) { $this->campaignId = $this->stdResult->{"campaignId"}; } } private $arrayResult; public function setArrayResult($arrayResult) { $this->arrayResult = $arrayResult; if (array_key_exists ( "campaignId", $this->arrayResult )) { $this->campaignId = $arrayResult['campaignId']; } } } ?>