paramJson; } public function setParamJson($paramJson) { $this->paramJson = $paramJson; $arr = array(); foreach ($paramJson as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["paramJson"] = $arr; } public function getApiMethodName(){ return 'suning.common.decrypt.get'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 } public function getBizName(){ return "getDecrypt"; } } class ParamJson { private $apiParams = array(); private $authId; private $cipherText; public function getAuthId() { return $this->authId; } public function setAuthId($authId) { $this->authId = $authId; $this->apiParams["authId"] = $authId; } public function getCipherText() { return $this->cipherText; } public function setCipherText($cipherText) { $this->cipherText = $cipherText; $this->apiParams["cipherText"] = $cipherText; } public function getApiParams(){ return $this->apiParams; } } ?>