<?php
namespace jd_vop\request\product;
use jd_vop\request\Request;
class TotalCheckNew extends Request
{
protected $token;
protected $skuIds;
protected $province;
protected $city;
protected $county;
protected $town;
protected static $uri = "api/product/totalCheckNew";
public function __construct($token, $province, $city, $county, $town, $skuIds)
{
parent::__construct();
$this->token = $token;
$this->skuIds = $skuIds;
$this->province = $province;
$this->city = $city;
$this->county = $county;
$this->town = $town ?? 0;
}
public function params(): array
{
return [
'token' => $this->token,
'skuIds' => $this->skuIds,
'province' => $this->province,
'city' => $this->city,
'county' => $this->county,
'town' => $this->town,
];
}
}