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

修复非 POST 请求使用 getParsedBody() 无法获取 JSON 反序列化数据 #523

Merged
merged 1 commit into from
May 26, 2023

Conversation

Yurunsoft
Copy link
Member

@Yurunsoft Yurunsoft commented May 25, 2023

fix #521

@Yurunsoft Yurunsoft added bug Something isn't working 2.1 2.0 labels May 25, 2023
@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 🎉

Comparison is base (f74a32d) 65.57% compared to head (e5d6127) 65.58%.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.1     #523      +/-   ##
============================================
+ Coverage     65.57%   65.58%   +0.01%     
+ Complexity    10968    10967       -1     
============================================
  Files           881      881              
  Lines         29986    29986              
============================================
+ Hits          19662    19666       +4     
+ Misses        10324    10320       -4     
Impacted Files Coverage Δ
src/Util/Http/ServerRequest.php 69.12% <100.00%> (ø)

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Yurunsoft Yurunsoft merged commit 892c150 into 2.1 May 26, 2023
@Yurunsoft Yurunsoft deleted the issue-521 branch May 26, 2023 00:58
Yurunsoft added a commit that referenced this pull request May 26, 2023
# Conflicts:
#	tests/unit/Component/Tests/Util/Http/ServerRequestTest.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 2.1 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

put请求方法post和getParsedBody都获取不到参数
1 participant