header:
{ 'content-type':
'multipart/form-data; boundary=--------------------------237608247632424222274525',
'cache-control': 'no-cache',
'postman-token': '6b9f892e-2036-4003-9697-503a1deef148',
'user-agent': 'PostmanRuntime/7.6.0',
accept: '*/*',
host: '127.0.0.1:7003',
cookie: 'locale=en-us; csrfToken=wNQkSw8HdK6x7qjuAl36Fvlt',
'accept-encoding': 'gzip, deflate',
'content-length': '163',
connection: 'keep-alive' } },
一个这样的请求
ctx.body
是空的很奇怪。
我用 potman 请求过来的,选择的 form-data, 且删除了 header