Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当使用 debug 日志时 Result 数据被清空 #253

Open
wenbinye opened this issue Nov 4, 2021 · 0 comments
Open

当使用 debug 日志时 Result 数据被清空 #253

wenbinye opened this issue Nov 4, 2021 · 0 comments

Comments

@wenbinye
Copy link

wenbinye commented Nov 4, 2021

\AlibabaCloud\Client\Result\Result::resolveData 函数中使用

$content = $this->getBody()->getContents();

这个方法当 body 被输出过就只能获取到空字符串,应该使用 (string) $this->getBody()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant