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

ctx.request.body #4689

Closed
aluckyqingchun1 opened this issue Jun 4, 2021 · 3 comments
Closed

ctx.request.body #4689

aluckyqingchun1 opened this issue Jun 4, 2021 · 3 comments

Comments

@aluckyqingchun1
Copy link

post请求之后 会返回这样的错误信息 request aborted, check bodyParser config
如果把bodyParser配置成false的话 ctx.request.body 拿到的值undefined

@atian25
Copy link
Member

atian25 commented Jun 5, 2021

它叫你检测配置,不是叫你关闭配置。。。

@egg-bot
Copy link

egg-bot commented Jun 5, 2021

Hello @aluckyqingchun1. Please provide a reproducible example following the instruction.

Issues labeled by Need Reproduce will be closed if no activities in 7 days.


@aluckyqingchun1,请根据这个说明提供最小可复现代码。

如果在 7 天内没有进展会被自动关闭。

@aluckyqingchun1
Copy link
Author

找到问题啦 是前端哪里webpack配置 admin有一个mock数据 devserver 的一个before参数应该给转发掉了一些参数信息

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

No branches or pull requests

3 participants