php 获取post提交的json数据的兼容bug解决方法
不知名bug兼容方法
if (!empty($_POST)) {
$dataPostKeys = array_keys($_POST);
$nestedJson = json_decode($dataPostKeys[0], true);
}
//下面就是获取提交的
$nestedJson
版权声明:
作者:时光鉴
链接:https://blog.jx23.cn/125.html
文章版权归作者所有,未经允许请勿转载。
THE END