首页 > 技术文章 > 跨域请求报错问题
songxuan 2017-12-17 18:29 原文
做接口请求的时候,有时会遇到跨域的问题,可以在请求的时候加上
header('Access-Control-Allow-Origin:*');