orderIds; } public function setOrderIds($orderIds) { $this->orderIds = $orderIds; $arr = array(); foreach ($orderIds as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["orderIds"] = $arr; } public function getApiMethodName(){ return 'suning.govbus.ordernumber.query'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 } public function getBizName(){ return "queryOrdernumer"; } } class OrderIds { private $apiParams = array(); private $orderId; public function getOrderId() { return $this->orderId; } public function setOrderId($orderId) { $this->orderId = $orderId; $this->apiParams["orderId"] = $orderId; } public function getApiParams(){ return $this->apiParams; } } ?>