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.
86 lines
1.5 KiB
86 lines
1.5 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2020-7-14
|
||
|
*/
|
||
|
class VisiteffectAddRequest extends SuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $activityId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $memberId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $statisTime;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $snUnionId;
|
||
|
|
||
|
public function getActivityId() {
|
||
|
return $this->activityId;
|
||
|
}
|
||
|
|
||
|
public function setActivityId($activityId) {
|
||
|
$this->activityId = $activityId;
|
||
|
$this->apiParams["activityId"] = $activityId;
|
||
|
}
|
||
|
|
||
|
public function getMemberId() {
|
||
|
return $this->memberId;
|
||
|
}
|
||
|
|
||
|
public function setMemberId($memberId) {
|
||
|
$this->memberId = $memberId;
|
||
|
$this->apiParams["memberId"] = $memberId;
|
||
|
}
|
||
|
|
||
|
public function getStatisTime() {
|
||
|
return $this->statisTime;
|
||
|
}
|
||
|
|
||
|
public function setStatisTime($statisTime) {
|
||
|
$this->statisTime = $statisTime;
|
||
|
$this->apiParams["statisTime"] = $statisTime;
|
||
|
}
|
||
|
|
||
|
public function getSnUnionId() {
|
||
|
return $this->snUnionId;
|
||
|
}
|
||
|
|
||
|
public function setSnUnionId($snUnionId) {
|
||
|
$this->snUnionId = $snUnionId;
|
||
|
$this->apiParams["snUnionId"] = $snUnionId;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.custom.visiteffect.add';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->activityId, 'activityId');
|
||
|
RequestCheckUtil::checkNotNull($this->statisTime, 'statisTime');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "addVisiteffect";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|