content; } public function setContent($content) { $this->content = $content; $this->apiParams["content"] = $content; } public function getFileName() { return $this->fileName; } public function setFileName($fileName) { $this->fileName = $fileName; $this->apiParams["fileName"] = $fileName; } public function getMimeType() { return $this->mimeType; } public function setMimeType($mimeType) { $this->mimeType = $mimeType; $this->apiParams["mimeType"] = $mimeType; } public function getApiMethodName(){ return 'suning.custom.picture.add'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->content, 'content'); RequestCheckUtil::checkNotNull($this->fileName, 'fileName'); RequestCheckUtil::checkNotNull($this->mimeType, 'mimeType'); } public function getBizName(){ return "addPicture"; } } ?>