标签:pos auth 开启 region post ade boolean ati author
function not_region($boolean)
{
if($boolean){
// 开启跨域
header(‘Access-Control-Allow-Origin:*‘);
header( ‘Access-Control-Allow-Methods: GET,POST, OPTIONS‘ );
header( ‘Access-Control-Allow-Headers: Origin,Content-Type, Accept, Authorization, X-Request-With‘ );
header( ‘Access-Control-Allow-Credentials: true‘);
}
}
标签:pos auth 开启 region post ade boolean ati author
原文地址:http://www.cnblogs.com/q1104460935/p/6913138.html