Closed yoonasy closed 5 years ago
if you want to keep params' type, you should use application/json
format. application/x-www-form-urlencoded
is a string base protocol, it can't keep params' type
@dead-horse
超级感谢大佬 解决了
是我axios
将data
转换成query
参数了 qs.stringfy(data)
之前用的.net
后台 他们后台能直接解析 想着bodyparser也能解析
set request
content-type': 'application/x-www-form-urlencoded; charset=UTF-8
koa
result
The
isExpand
type should be a Boolean value,But it‘s strings,Excuse me, what should I do