channel = $channel; $this->apiParas["channel"] = $channel; } public function getChannel() { return $this->channel; } public function setOuterId($outerId) { $this->outerId = $outerId; $this->apiParas["outer_id"] = $outerId; } public function getOuterId() { return $this->outerId; } public function setSubOuterId($subOuterId) { $this->subOuterId = $subOuterId; $this->apiParas["sub_outer_id"] = $subOuterId; } public function getSubOuterId() { return $this->subOuterId; } public function getApiMethodName() { return "dingtalk.oapi.retail.user.unionidquery"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->channel,"channel"); RequestCheckUtil::checkNotNull($this->outerId,"outerId"); RequestCheckUtil::checkNotNull($this->subOuterId,"subOuterId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }