用非標(biāo)準(zhǔn)表單 $request->getBody(); 來(lái)獲取,然后根據(jù)需要json_decode 解碼。 類似php-fpm里用 php://input 來(lái)獲取非標(biāo)準(zhǔn)表單數(shù)據(jù)一樣