123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- class SealListRequest extends SdkRequest {
- const SEAL_LIST = "/v2/seal/list"; // 印章列表接口地址
- private $selectOffset; // 查询起始位置,默认为0
- private $selectLimit; // 查询列表大小,默认1000
- private $tenantName; // 子公司名称,若传递了则查询子公司下的印章,默认为平台方主公司
- public function __construct() {
- $count = func_num_args();
- $args=func_get_args();
- if (method_exists($this,$f='__construct'.$count)) {
- call_user_func_array(array($this,$f),$args);
- }
- }
- public function __construct0() {
- }
- /**
- * SealListRequest constructor.
- * @param $selectOffset
- * @param $selectLimit
- */
- public function __construct2($selectOffset, $selectLimit) {
- $this->selectOffset = $selectOffset;
- $this->selectLimit = $selectLimit;
- }
- public function getUrl() {
- return self::SEAL_LIST;
- }
- public function getHttpParamers() {
- $paramSwitcher = ParamSwitcher::instanceParam();
- $paramSwitcher->addParam('selectOffset', $this->selectOffset);
- $paramSwitcher->addParam('selectLimit', $this->selectLimit);
- $paramSwitcher->addParam('tenantName', $this->tenantName);
- $httpParameters = HttpParameter::httpGetParamer();
- $httpParameters->setParams($paramSwitcher->getParams());
- return $httpParameters;
- }
- /**
- * @return mixed
- */
- public function getSelectOffset()
- {
- return $this->selectOffset;
- }
- /**
- * @param mixed $selectOffset
- */
- public function setSelectOffset($selectOffset)
- {
- $this->selectOffset = $selectOffset;
- }
- /**
- * @return mixed
- */
- public function getSelectLimit()
- {
- return $this->selectLimit;
- }
- /**
- * @param mixed $selectLimit
- */
- public function setSelectLimit($selectLimit)
- {
- $this->selectLimit = $selectLimit;
- }
- /**
- * @return mixed
- */
- public function getTenantName()
- {
- return $this->tenantName;
- }
- /**
- * @param mixed $tenantName
- */
- public function setTenantName($tenantName)
- {
- $this->tenantName = $tenantName;
- }
- }
|