有需求要求转json不转义中文,网上查阅资料后得知 json_encode($aa,JSON_UNESCAPED_UNICODE);//即可 其他参数介绍见手册:http://php.net/manual/zh/json.constants.php