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.encrypt.get'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 } public function getBizName(){ return "getEncrypt"; } } class ParamJson { private $apiParams = array(); private $authId; private $isSupportIndex; private $plainText; private $sensitiveType; public function getAuthId() { return $this->authId; } public function setAuthId($authId) { $this->authId = $authId; $this->apiParams["authId"] = $authId; } public function getIsSupportIndex() { return $this->isSupportIndex; } public function setIsSupportIndex($isSupportIndex) { $this->isSupportIndex = $isSupportIndex; $this->apiParams["isSupportIndex"] = $isSupportIndex; } public function getPlainText() { return $this->plainText; } public function setPlainText($plainText) { $this->plainText = $plainText; $this->apiParams["plainText"] = $plainText; } public function getSensitiveType() { return $this->sensitiveType; } public function setSensitiveType($sensitiveType) { $this->sensitiveType = $sensitiveType; $this->apiParams["sensitiveType"] = $sensitiveType; } public function getApiParams(){ return $this->apiParams; } } ?>