forked from CITKParus/P8-ExchangeService
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
b1bc06edc9 | ||
|
61dd9e8f1a |
@ -14,7 +14,7 @@ let common = {
|
||||
//Версия сервера приложений
|
||||
sVersion: "8.5.6.1",
|
||||
//Релиз сервера приложений
|
||||
sRelease: "2025.07.01",
|
||||
sRelease: "2025.07.29",
|
||||
//Таймаут останова сервера (мс)
|
||||
nTerminateTimeout: 60000,
|
||||
//Контролировать версию Системы
|
||||
|
@ -27,7 +27,8 @@ const tag = [
|
||||
"Resolutions",
|
||||
"XmlSignatureRejections",
|
||||
"RecipientTitles",
|
||||
"Requests"
|
||||
"Requests",
|
||||
"UniversalMessages"
|
||||
];
|
||||
|
||||
//------------
|
||||
@ -683,12 +684,16 @@ const beforeDocLoad = async prms => {
|
||||
entId = "documentId=";
|
||||
msgId = "letterId=";
|
||||
break;
|
||||
//Загрузка Универсального сообщения
|
||||
case 6:
|
||||
entId = "attachmentId=";
|
||||
break;
|
||||
default:
|
||||
}
|
||||
surl = `${surl}?${msgId}${prms.options.smsgid}&${entId}${prms.options.sentid}`;
|
||||
let obj;
|
||||
let rblMsg;
|
||||
if (prms.queue.blMsg && prms.options.type != 5) {
|
||||
if (prms.queue.blMsg && (prms.options.type != 5) && (prms.options.type != 6)) {
|
||||
//Конвертируем XML из "Парус 8" в понятный "ДИАДОК" JSON
|
||||
obj = await toJSON(prms.queue.blMsg.toString());
|
||||
rblMsg = Buffer.from(JSON.stringify(obj));
|
||||
|
Loading…
x
Reference in New Issue
Block a user