<?php
namespace jd_vop\request\product;
use jd_vop\request\Request;
class QuerySkuByPage extends Request
{
protected $token;
protected $pageNum;
protected $pageSize;
protected $offset;
protected static $uri = "api/product/querySkuByPage";
public function __construct(string $token, int $pageNum, int $pageSize, int $offset)
{
parent::__construct();
$this->token = $token;
$this->pageNum = $pageNum;
$this->pageSize = $pageSize;
$this->offset = $offset;
}
public function params(): array
{
return [
'token' => $this->token,
'pageNum' => $this->pageNum,
'pageSize' => $this->pageSize,
'offset' => $this->offset,
];
}
}