From 4e3503ad797d70b4c48a9cd2a13fa41273d6e1ce Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期五, 13 六月 2025 10:32:16 +0800
Subject: [PATCH] RUKU
---
MES.Service/service/PLM/WarehouseDownloadDoc.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/MES.Service/service/PLM/WarehouseDownloadDoc.cs b/MES.Service/service/PLM/WarehouseDownloadDoc.cs
index 18d835b..748ea0a 100644
--- a/MES.Service/service/PLM/WarehouseDownloadDoc.cs
+++ b/MES.Service/service/PLM/WarehouseDownloadDoc.cs
@@ -15,12 +15,12 @@
{
get
{
- string json = "{\"ap1\":{ \"AcctID\":\"" + "6722eada66becb" + "\",\"Username\":\"Administrator\",\"Password\":\"Yc123456@\",\"Lcid\":2052,\"AuthenticateType\":1,\"PasswordIsEncrypted\":\"false\",\"ClientInfo\":{\"ClientType\":8}}";
+ string json = "{\"ap1\":{ \"AcctID\":\"" + "61ce591aee4c5a" + "\",\"Username\":\"Administrator\",\"Password\":\"Yc123456@\",\"Lcid\":2052,\"AuthenticateType\":1,\"PasswordIsEncrypted\":\"false\",\"ClientInfo\":{\"ClientType\":8}}";
var resp = GetResponse("http://121.36.245.199/k3cloud/Kingdee.BOS.ServiceFacade.ServicesStub.User.UserService.ValidateLoginInfo.common.kdsvc", json, new Dictionary<string, string>());
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