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.
77 lines
1.3 KiB
77 lines
1.3 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2018-12-4
|
||
|
*/
|
||
|
class ProtoQueryRequest extends SelectSuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $gdsCd;
|
||
|
|
||
|
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $vendorCd;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $vendorGds;
|
||
|
|
||
|
public function getGdsCd() {
|
||
|
return $this->gdsCd;
|
||
|
}
|
||
|
|
||
|
public function setGdsCd($gdsCd) {
|
||
|
$this->gdsCd = $gdsCd;
|
||
|
$this->apiParams["gdsCd"] = $gdsCd;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
public function getVendorCd() {
|
||
|
return $this->vendorCd;
|
||
|
}
|
||
|
|
||
|
public function setVendorCd($vendorCd) {
|
||
|
$this->vendorCd = $vendorCd;
|
||
|
$this->apiParams["vendorCd"] = $vendorCd;
|
||
|
}
|
||
|
|
||
|
public function getVendorGds() {
|
||
|
return $this->vendorGds;
|
||
|
}
|
||
|
|
||
|
public function setVendorGds($vendorGds) {
|
||
|
$this->vendorGds = $vendorGds;
|
||
|
$this->apiParams["vendorGds"] = $vendorGds;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.selfmarket.proto.query';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->pageNo, 'pageNo');
|
||
|
RequestCheckUtil::checkNotNull($this->pageSize, 'pageSize');
|
||
|
RequestCheckUtil::checkNotNull($this->vendorCd, 'vendorCd');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "queryProto";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|