更新时间:2023-01-07 08:09:54
$json = file_get_contents('php://input');
$obj = json_decode($json,true);
我认为您传递了错误的变量.您应该在 json_decode
中传递 $json
,如上所示.
I think you are passing the wrong variable. You should pass $json
in json_decode
as shown above.