You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
1.6 KiB
98 lines
1.6 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2020-11-17
|
||
|
*/
|
||
|
class WeibocommoditylistQueryRequest extends SuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $cityCode;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $pageIndex;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $picHeight;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $picWidth;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $size;
|
||
|
|
||
|
public function getCityCode() {
|
||
|
return $this->cityCode;
|
||
|
}
|
||
|
|
||
|
public function setCityCode($cityCode) {
|
||
|
$this->cityCode = $cityCode;
|
||
|
$this->apiParams["cityCode"] = $cityCode;
|
||
|
}
|
||
|
|
||
|
public function getPageIndex() {
|
||
|
return $this->pageIndex;
|
||
|
}
|
||
|
|
||
|
public function setPageIndex($pageIndex) {
|
||
|
$this->pageIndex = $pageIndex;
|
||
|
$this->apiParams["pageIndex"] = $pageIndex;
|
||
|
}
|
||
|
|
||
|
public function getPicHeight() {
|
||
|
return $this->picHeight;
|
||
|
}
|
||
|
|
||
|
public function setPicHeight($picHeight) {
|
||
|
$this->picHeight = $picHeight;
|
||
|
$this->apiParams["picHeight"] = $picHeight;
|
||
|
}
|
||
|
|
||
|
public function getPicWidth() {
|
||
|
return $this->picWidth;
|
||
|
}
|
||
|
|
||
|
public function setPicWidth($picWidth) {
|
||
|
$this->picWidth = $picWidth;
|
||
|
$this->apiParams["picWidth"] = $picWidth;
|
||
|
}
|
||
|
|
||
|
public function getSize() {
|
||
|
return $this->size;
|
||
|
}
|
||
|
|
||
|
public function setSize($size) {
|
||
|
$this->size = $size;
|
||
|
$this->apiParams["size"] = $size;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.netalliance.weibocommoditylist.query';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "queryWeibocommoditylist";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|