我们正在使用Angular构建Web RedApp,我们需要将一些被动段发送到SRW以包含在PNR中,但是我们收到了来自它们的错误AUTH001响应
$scope.callEmu = function (command) {
var rsp = SrwApi.executeInEmu(command, true, true);
rsp = eval("(" + rsp + ")");
return rsp;
}
var result1 = $scope.callEmu("5H-ASD/EC/PNR/XXXXXXXXXX”);
var result2 = $scope.callEmu("0TORXXHK2SJU23NOV-XXXXXXX/TEST1 TEST 2XX/SI-33J3K22");