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.
102 lines
1.6 KiB
102 lines
1.6 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2021-1-14
|
|
*/
|
|
class ItemQueryRequest extends SelectSuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $brandCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $categoryCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $endTime;
|
|
|
|
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $startTime;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $status;
|
|
|
|
public function getBrandCode() {
|
|
return $this->brandCode;
|
|
}
|
|
|
|
public function setBrandCode($brandCode) {
|
|
$this->brandCode = $brandCode;
|
|
$this->apiParams["brandCode"] = $brandCode;
|
|
}
|
|
|
|
public function getCategoryCode() {
|
|
return $this->categoryCode;
|
|
}
|
|
|
|
public function setCategoryCode($categoryCode) {
|
|
$this->categoryCode = $categoryCode;
|
|
$this->apiParams["categoryCode"] = $categoryCode;
|
|
}
|
|
|
|
public function getEndTime() {
|
|
return $this->endTime;
|
|
}
|
|
|
|
public function setEndTime($endTime) {
|
|
$this->endTime = $endTime;
|
|
$this->apiParams["endTime"] = $endTime;
|
|
}
|
|
|
|
|
|
|
|
public function getStartTime() {
|
|
return $this->startTime;
|
|
}
|
|
|
|
public function setStartTime($startTime) {
|
|
$this->startTime = $startTime;
|
|
$this->apiParams["startTime"] = $startTime;
|
|
}
|
|
|
|
public function getStatus() {
|
|
return $this->status;
|
|
}
|
|
|
|
public function setStatus($status) {
|
|
$this->status = $status;
|
|
$this->apiParams["status"] = $status;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.sngoods.item.query';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "queryItem";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|