ThinkPHP5.0解决h5跨域问题 李维山 2022-02-22 204 阅读1分钟 入口文件index.php中添加: header('Access-Control-Allow-Headers: content-type,token');