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.
71 lines
1.2 KiB
71 lines
1.2 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2019-9-29
|
||
|
*/
|
||
|
class ActivityGetRequest extends SuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $activityId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $chanId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $cmmdtyCode;
|
||
|
|
||
|
public function getActivityId() {
|
||
|
return $this->activityId;
|
||
|
}
|
||
|
|
||
|
public function setActivityId($activityId) {
|
||
|
$this->activityId = $activityId;
|
||
|
$this->apiParams["activityId"] = $activityId;
|
||
|
}
|
||
|
|
||
|
public function getChanId() {
|
||
|
return $this->chanId;
|
||
|
}
|
||
|
|
||
|
public function setChanId($chanId) {
|
||
|
$this->chanId = $chanId;
|
||
|
$this->apiParams["chanId"] = $chanId;
|
||
|
}
|
||
|
|
||
|
public function getCmmdtyCode() {
|
||
|
return $this->cmmdtyCode;
|
||
|
}
|
||
|
|
||
|
public function setCmmdtyCode($cmmdtyCode) {
|
||
|
$this->cmmdtyCode = $cmmdtyCode;
|
||
|
$this->apiParams["cmmdtyCode"] = $cmmdtyCode;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.online.activity.get';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->cmmdtyCode, 'cmmdtyCode');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "getActivity";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|