From 9e186ace64a313f6ca69ea8331d4994fbf6bb864 Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期一, 21 四月 2025 17:21:49 +0800
Subject: [PATCH] plm新的申请

---
 MES.Service/service/PLM/WarehouseDownloadDoc.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/MES.Service/service/PLM/WarehouseDownloadDoc.cs b/MES.Service/service/PLM/WarehouseDownloadDoc.cs
index 18d835b..5792f2e 100644
--- a/MES.Service/service/PLM/WarehouseDownloadDoc.cs
+++ b/MES.Service/service/PLM/WarehouseDownloadDoc.cs
@@ -20,7 +20,7 @@
                 string ret = (new StreamReader(resp.GetResponseStream(), Encoding.UTF8)).ReadToEnd();
                 var result = JObject.Parse(ret)["Context"];
                 string token = result["UserToken"].ToString();
-                var warehouseCtx = string.Format("LoginUrl={0}/&UserToken={1}", _cloudUrl, token);
+                var warehouseCtx = string.Format("LoginUrl={0}&KDServiceSessionId={1}", _cloudUrl, JObject.Parse(ret)["KDSVCSessionId"].ToString());//瀹夊叏鏂版柟寮�
                 return Convert.ToBase64String(Encoding.UTF8.GetBytes(warehouseCtx));
             }
         }

--
Gitblit v1.9.3