setUserParam($params, "content", $this->content); $this->setUserParam($params, "file_id", $this->fileId); $this->setUserParam($params, "goods_id", $this->goodsId); $this->setUserParam($params, "material_type", $this->materialType); } public function getVersion() { return "V1"; } public function getDataType() { return "JSON"; } public function getType() { return "pdd.goods.material.create"; } public function setContent($content) { $this->content = $content; } public function setFileId($fileId) { $this->fileId = $fileId; } public function setGoodsId($goodsId) { $this->goodsId = $goodsId; } public function setMaterialType($materialType) { $this->materialType = $materialType; } }