硕顺crm后台
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.
 
 
 
 
 
 

48 lines
740 B

<?php
/**
* dingtalk API: dingtalk.oapi.user.get request
*
* @author auto create
* @since 1.0, 2021.03.18
*/
class OapiUserGetRequest
{
/**
* 用户id
**/
private $userid;
private $apiParas = array();
public function setUserid($userid)
{
$this->userid = $userid;
$this->apiParas["userid"] = $userid;
}
public function getUserid()
{
return $this->userid;
}
public function getApiMethodName()
{
return "dingtalk.oapi.user.get";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->userid,"userid");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}