header('Access-Control-Allow-Origin', '*'); // 允許跨域 return $response; } }