userId = $userId; $this->apiParas["userId"] = $userId; } public function getUserId() { return $this->userId; } public function getApiMethodName() { return "dingtalk.oapi.department.list_parent_depts"; } public function getApiParas() { return $this->apiParas; } public function check() { } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }