123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- class SealImageRequest extends SdkRequest {
- const SEAL_IMAGE = "/v2/seal/image"; // 获取印章图片
- private $sealId;
- 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() {
- }
- /**
- * SealImageRequest constructor.
- * @param $sealId
- */
- public function __construct1($sealId) {
- $this->sealId = $sealId;
- }
- public function getUrl() {
- return self::SEAL_IMAGE;
- }
- public function getHttpParamers() {
- $paramSwitcher = ParamSwitcher::instanceParam();
- $paramSwitcher->addParam('sealId', $this->sealId);
- $httpParameters = HttpParameter::httpGetParamer();
- $httpParameters->setParams($paramSwitcher->getParams());
- return $httpParameters;
- }
- /**
- * @return mixed
- */
- public function getSealId()
- {
- return $this->sealId;
- }
- /**
- * @param mixed $sealId
- */
- public function setSealId($sealId)
- {
- $this->sealId = $sealId;
- }
- }
|