调用函数 getDocument 时无法下载文档
Can't download document when calling function getDocument
错误:在 DocuSign\eSign\ObjectSerializer::deserialize() 中调用成员函数 read()(第 285 行 of/vendor/docusign/esign-client/src/ObjectSerializer.php)。
我正在调用该函数
$temp_file = $envelope_api->getDocument($accountID, $document_id, $envelope_id);
这是导致问题的原因
$file = fopen($filename, 'w');
while ($chunk = $data->read(200)) {
fwrite($file, $chunk);
}
fclose($file);
如果您认为 PHP SDK(客户端库)中存在错误,请告诉我们。
5.2 版是最近发布的,因此与 5.1 版相比,行为可能有一些变化。
错误:在 DocuSign\eSign\ObjectSerializer::deserialize() 中调用成员函数 read()(第 285 行 of/vendor/docusign/esign-client/src/ObjectSerializer.php)。
我正在调用该函数
$temp_file = $envelope_api->getDocument($accountID, $document_id, $envelope_id);
这是导致问题的原因
$file = fopen($filename, 'w');
while ($chunk = $data->read(200)) {
fwrite($file, $chunk);
}
fclose($file);
如果您认为 PHP SDK(客户端库)中存在错误,请告诉我们。 5.2 版是最近发布的,因此与 5.1 版相比,行为可能有一些变化。