From c6239213a60120d4f3f8d2105f48b6fa715a99ed Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 21 五月 2025 13:30:02 +0800 Subject: [PATCH] 1.获取携客云信息返回结构优化 2.SRM送货单扫码收料-PDA 3.OA->MES新增字段 --- service/QC/OAJyService.cs | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/service/QC/OAJyService.cs b/service/QC/OAJyService.cs index a5191af..c7fb134 100644 --- a/service/QC/OAJyService.cs +++ b/service/QC/OAJyService.cs @@ -90,12 +90,14 @@ public string GetToken() { - -; + var userId = "1268"; + var encryptedUserId = RsaHelper.Encrypt(userId, SPK); + ; var headers = new Dictionary<string, string> { ["appid"] = APPID, - ["secret"] = RsaHelper.Encrypt(SECRET, SPK) + ["secret"] = RsaHelper.Encrypt(SECRET, SPK), + ["userId"] = encryptedUserId }; try @@ -213,7 +215,7 @@ string strToken = GetToken(); - // 鏇挎崲鍘熸湁鐨勬祴璇曟暟鎹瀯寤� + // 鏇挎崲鍘熸湁鐨勬祴mainDataDict璇曟暟鎹瀯寤� mainDataDict = BuildMainDataFromQuery(query); @@ -339,7 +341,7 @@ var mainData = new Dictionary<string, object> { // 琛ㄧ粨鏋勫畾涔� - ["tableDBName"] = "formtable_main_1356_dt1", + ["tableDBName"] = "formtable_main_33", ["workflowRequestTableRecords"] = new List<Dictionary<string, object>> { new Dictionary<string, object> -- Gitblit v1.9.3