加上参数

 JSON_UNESCAPED_SLASHES即可
echo json_encode($data,JSON_UNESCAPED_SLASHES);抄见https://www.cnblogs.com/baker95935/p/8340818.html