时间:2021-07-01 10:21:17 帮助过:19人阅读
- <br>public function setParm($parameter, $value) {<br>
- $this->parameter[$parameter] = $value;<br>
- return $this;<br>
- }<br><br>function geturl($type){<br> $this->setproductparm($type);<br> return $this->getData();<br> } <br> <br>private function setproductparm($urltype){<br> $this->parameter=array();<br> $this->type="";<br> $this->setParm("Marketplace",self::marketplaceId);<br> $this->version="2009-01-01";<br> switch ($urltype){<br> case "RequestReport": <br> $this->setParm("Action","RequestReport");<br> $this->setParm("ReportType","_GET_MERCHANT_LISTINGS_DATA_");<br> break;<br> case "GetReportList": <br> $this->setParm("Action","GetReportList"); <br> $this->setParm("ReportRequestIdList.Id.1",$this->ReportRequestId);<br> break;<br> case "GetReport": <br> $this->setParm("Action","GetReport"); <br> $this->setParm("ReportId",$this->ReportId); <br> break; <br> <br> <br> }<br> <br> }<br>
- <br>//看看是不是下面的方法哪里处理了<br>getData();<br>