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.
88 lines
1.7 KiB
88 lines
1.7 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2021-9-27
|
||
|
*/
|
||
|
class ActivityidlistGetRequest extends SuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $activityCode;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $activityType;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $pageNum;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $pageSizes;
|
||
|
|
||
|
public function getActivityCode() {
|
||
|
return $this->activityCode;
|
||
|
}
|
||
|
|
||
|
public function setActivityCode($activityCode) {
|
||
|
$this->activityCode = $activityCode;
|
||
|
$this->apiParams["activityCode"] = $activityCode;
|
||
|
}
|
||
|
|
||
|
public function getActivityType() {
|
||
|
return $this->activityType;
|
||
|
}
|
||
|
|
||
|
public function setActivityType($activityType) {
|
||
|
$this->activityType = $activityType;
|
||
|
$this->apiParams["activityType"] = $activityType;
|
||
|
}
|
||
|
|
||
|
public function getPageNum() {
|
||
|
return $this->pageNum;
|
||
|
}
|
||
|
|
||
|
public function setPageNum($pageNum) {
|
||
|
$this->pageNum = $pageNum;
|
||
|
$this->apiParams["pageNum"] = $pageNum;
|
||
|
}
|
||
|
|
||
|
public function getPageSizes() {
|
||
|
return $this->pageSizes;
|
||
|
}
|
||
|
|
||
|
public function setPageSizes($pageSizes) {
|
||
|
$this->pageSizes = $pageSizes;
|
||
|
$this->apiParams["pageSizes"] = $pageSizes;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.custom.activityidlist.get';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->activityCode, 'activityCode');
|
||
|
RequestCheckUtil::checkNotNull($this->activityType, 'activityType');
|
||
|
RequestCheckUtil::checkNotNull($this->pageNum, 'pageNum');
|
||
|
RequestCheckUtil::checkNotNull($this->pageSizes, 'pageSizes');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "getActivityidlist";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|