請(qǐng)問(wèn)worker大大,在源碼哪里添加以下代碼可以解決跨域的問(wèn)題?
header("Content-Type: text/html; charset=UTF-8");
header("Access-Control-Allow-Origin:*");
header("Access-Control-Allow-Methods:OPTION, POST, GET");
header("Access-Control-Allow-Headers:X-Requested-With, Content-Type");