$getDatas = $_POST; if(empty($getDatas)) $getDatas = file_get_contents("php://input"); $getDatas = json_decode($getDatas,true);
$getDatas = $_POST; if(empty($getDatas)) $getDatas = file_get_contents("php://input"); $getDatas = json_decode($getDatas,true);
转载于:https://www.cnblogs.com/wjw-/p/8496855.html