appid = $appid; $this->apiParas["appid"] = $appid; } public function getAppid() { return $this->appid; } public function setAppsecret($appsecret) { $this->appsecret = $appsecret; $this->apiParas["appsecret"] = $appsecret; } public function getAppsecret() { return $this->appsecret; } public function getApiMethodName() { return "dingtalk.oapi.sns.gettoken"; } public function getApiParas() { return $this->apiParas; } public function check() { } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }