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.
47 lines
761 B
47 lines
761 B
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 - 商品API - 图片删除
|
||
|
*
|
||
|
* $pack suning.custom.pic.delete
|
||
|
* @author jerry(14033184@cnsuning.com)
|
||
|
* @date 2014-05-29
|
||
|
*/
|
||
|
|
||
|
class PicDeleteRequest extends SuningRequest
|
||
|
{
|
||
|
/**
|
||
|
* 要删除的图片url
|
||
|
*/
|
||
|
private $picUrl;
|
||
|
|
||
|
public function setPicUrl($picUrl)
|
||
|
{
|
||
|
$this->picUrl = $picUrl;
|
||
|
$this->apiParams["picUrl"] = $picUrl;
|
||
|
}
|
||
|
|
||
|
public function getPicUrl()
|
||
|
{
|
||
|
return $this->picUrl;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName()
|
||
|
{
|
||
|
return 'suning.custom.pic.delete';
|
||
|
}
|
||
|
|
||
|
public function getApiParams()
|
||
|
{
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check()
|
||
|
{
|
||
|
RequestCheckUtil::checkNotNull($this->picUrl, 'picUrl');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "pic";
|
||
|
}
|
||
|
}
|
||
|
?>
|