You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
717 B
47 lines
717 B
<?php
|
|
/**
|
|
* dingtalk API: dingtalk.oapi.user.getuserinfo request
|
|
*
|
|
* @author auto create
|
|
* @since 1.0, 2018.07.25
|
|
*/
|
|
class OapiUserGetuserinfoRequest
|
|
{
|
|
/**
|
|
* requestAuthCode接口中获取的CODE
|
|
**/
|
|
private $code;
|
|
|
|
private $apiParas = array();
|
|
|
|
public function setCode($code)
|
|
{
|
|
$this->code = $code;
|
|
$this->apiParas["code"] = $code;
|
|
}
|
|
|
|
public function getCode()
|
|
{
|
|
return $this->code;
|
|
}
|
|
|
|
public function getApiMethodName()
|
|
{
|
|
return "dingtalk.oapi.user.getuserinfo";
|
|
}
|
|
|
|
public function getApiParas()
|
|
{
|
|
return $this->apiParas;
|
|
}
|
|
|
|
public function check()
|
|
{
|
|
|
|
}
|
|
|
|
public function putOtherTextParam($key, $value) {
|
|
$this->apiParas[$key] = $value;
|
|
$this->$key = $value;
|
|
}
|
|
}
|
|
|