messageList; } public function setMessageList($messageList) { $this->messageList = $messageList; $arr = array(); foreach ($messageList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["messageList"] = $arr; } public function getShopId() { return $this->shopId; } public function setShopId($shopId) { $this->shopId = $shopId; $this->apiParams["shopId"] = $shopId; } public function getApiMethodName(){ return 'suning.enable.messagepoolcallback.confirm'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->shopId, 'shopId'); } public function getBizName(){ return "confirmMessagepoolcallback"; } } class MessageList { private $apiParams = array(); private $messageId; public function getMessageId() { return $this->messageId; } public function setMessageId($messageId) { $this->messageId = $messageId; $this->apiParams["messageId"] = $messageId; } public function getApiParams(){ return $this->apiParams; } } ?>