orderList; } public function setOrderList($orderList) { $this->orderList = $orderList; $arr = array(); foreach ($orderList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["orderList"] = $arr; } public function getApiMethodName(){ return 'suning.govbus.ordercancel.delete'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 } public function getBizName(){ return "deleteOrdercancel"; } } class OrderList { 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; } } ?>