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

Update controller.zh-CN.md #4934

Closed
wants to merge 1 commit into from
Closed

Conversation

jiangkaifree
Copy link

@jiangkaifree jiangkaifree commented Apr 22, 2022

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

@vercel
Copy link

vercel bot commented Apr 22, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/suyi/egg/Dm4rHoiZy9n4omFBCNviDeBGShKi
✅ Preview: https://egg-git-fork-2462870727-master-suyi.vercel.app

@codecov
Copy link

codecov bot commented Apr 23, 2022

Codecov Report

Merging #4934 (c2ec972) into master (5b9d77d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #4934   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           34        34           
  Lines         1131      1131           
  Branches       188       188           
=========================================
  Hits          1131      1131           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5b9d77d...c2ec972. Read the comment docs.

@@ -296,6 +296,8 @@ class PostController extends Controller {
- 当请求的 Content-Type 为 `application/x-www-form-urlencoded` 时,会按照 form 格式对请求 body 进行解析,并限制 body 最大长度为 `100kb`。
- 如果解析成功,body 一定会是一个 Object(可能是一个数组)。

注意:当请求的 Content-Type 为 application/x-www-form-urlencoded 时,前端传递的 body 应当是形如 key=value 这样的键值对,而不是一个 new FormData() 对象,当多个键值对时,使用 & 连接。注意:当请求的 Content-Type 为 application/x-www-form-urlencoded 时,前端传递的 body 应当是形如 key=value 这样的键值对,而不是一个 new FormData() 对象,当多个键值对时,使用 & 连接。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这句话重复了。

@fengmk2 fengmk2 closed this Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants