catId = $catId; $this->apiParas["cat_id"] = $catId; } public function getCatId() { return $this->catId; } public function setProduct($product) { $this->product = $product; $this->apiParas["product"] = $product; } public function getProduct() { return $this->product; } public function getApiMethodName() { return "alibaba.product.merchantproduct.publish"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->catId,"catId"); RequestCheckUtil::checkNotNull($this->product,"product"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }