json_encode返回的中文乱码,解析不出

json_encode返回的中文乱码,解析不出,json_encode里面加个参数就行了

json_encode($data,JSON_UNESCAPED_UNICODE);