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.
53 lines
1.2 KiB
53 lines
1.2 KiB
<?php
|
|
|
|
/**
|
|
* 苏宁开放平台接口 - 商品API - 获取商品采购目录信息
|
|
*
|
|
* $pack suning.custom.category.query
|
|
* @author jerry(14033184@cnsuning.com)
|
|
* @date 2014-05-26
|
|
*/
|
|
class CategoryQueryRequest extends SelectSuningRequest {
|
|
|
|
/**
|
|
* 苏宁采购目录名称。可输入中文,根据输入的信息进行关键字模糊查询
|
|
*/
|
|
private $categoryName;
|
|
|
|
private $targetChannel;
|
|
|
|
public function setTargetChannel($targetChannel) {
|
|
$this -> targetChannel = $targetChannel;
|
|
$this->apiParams["targetChannel"] = $targetChannel;
|
|
}
|
|
|
|
public function getTargetChannel() {
|
|
return $this -> targetChannel;
|
|
}
|
|
|
|
public function setCategoryName($categoryName) {
|
|
$this -> categoryName = $categoryName;
|
|
$this->apiParams["categoryName"] = $categoryName;
|
|
}
|
|
|
|
public function getCategoryName() {
|
|
return $this -> CategoryName;
|
|
}
|
|
|
|
public function getApiMethodName() {
|
|
return 'suning.custom.category.query';
|
|
}
|
|
|
|
public function getApiParams() {
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check($pageNoMin = 1, $pageNoMax = 99999, $pageSizeMin = 10, $pageSizeMax = 50) {
|
|
parent::check();
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "category";
|
|
}
|
|
}
|
|
?>
|