From f95dd1ce548f2a465d13f70fe4616410a4d77cc5 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 14 五月 2025 08:45:58 +0800 Subject: [PATCH] 1.OA接口优化。 2.携客云接口调用 3.携客云送货单、送货明细、条码信息实体 --- 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