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.
74 lines
1.8 KiB
74 lines
1.8 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 - X元N件活动批量查询
|
|
*
|
|
* @author suning
|
|
* @date 2015-7-27
|
|
*/
|
|
class XNActivityQueryRequest extends SelectSuningRequest{
|
|
|
|
|
|
|
|
/**
|
|
* 查询开始时间。查询开始时间。格式:yyyy-MM-dd HH:MM:SS若输入则开始时间和结束时间必须同时出现,开始时间和结束时间间隔不大于90天,如果时间不输入,则默认查询当前时间往前三天的数据。
|
|
*/
|
|
private $startTime;
|
|
|
|
/**
|
|
* 查询结束时间。查询结束时间。格式:yyyy-MM-dd HH:MM:SS若输入则开始时间和结束时间必须同时出现,开始时间和结束时间间隔不大于90天,如果时间不输入,则默认查询当前时间往前三天的数据。
|
|
*/
|
|
private $endTime;
|
|
|
|
/**
|
|
* 活动状态。0全部;1草稿;2处理中;3待开始;4进行中;5已结束;6已暂停;7已终止;8未生效
|
|
*/
|
|
private $activityStatus;
|
|
|
|
|
|
|
|
public function getStartTime() {
|
|
return $this->startTime;
|
|
}
|
|
|
|
public function setStartTime($startTime) {
|
|
$this->startTime = $startTime;
|
|
$this->apiParams["startTime"] = $startTime;
|
|
}
|
|
|
|
public function getEndTime() {
|
|
return $this->endTime;
|
|
}
|
|
|
|
public function setEndTime($endTime) {
|
|
$this->endTime = $endTime;
|
|
$this->apiParams["endTime"] = $endTime;
|
|
}
|
|
|
|
public function getActivityStatus() {
|
|
return $this->activityStatus;
|
|
}
|
|
|
|
public function setActivityStatus($activityStatus) {
|
|
$this->activityStatus = $activityStatus;
|
|
$this->apiParams["activityStatus"] = $activityStatus;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.custom.xnactivity.query';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "queryXNActivity";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|