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