appkey = $appkey; $this->apiParas["appkey"] = $appkey; } public function getAppkey() { return $this->appkey; } public function setAppsecret($appsecret) { $this->appsecret = $appsecret; $this->apiParas["appsecret"] = $appsecret; } public function getAppsecret() { return $this->appsecret; } public function setCorpid($corpid) { $this->corpid = $corpid; $this->apiParas["corpid"] = $corpid; } public function getCorpid() { return $this->corpid; } public function setCorpsecret($corpsecret) { $this->corpsecret = $corpsecret; $this->apiParas["corpsecret"] = $corpsecret; } public function getCorpsecret() { return $this->corpsecret; } public function getApiMethodName() { return "dingtalk.oapi.gettoken"; } public function getApiParas() { return $this->apiParas; } public function check() { } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }