From b12cd69327c7c286fc0239deadd4fa421f3b95cc Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期一, 28 四月 2025 10:03:51 +0800 Subject: [PATCH] 1.携客云api接口调通 --- service/QC/OaApi.cs | 6 ++++++ util/XkyApiHelper.cs | 2 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/service/QC/OaApi.cs b/service/QC/OaApi.cs index ef93298..e4d2669 100644 --- a/service/QC/OaApi.cs +++ b/service/QC/OaApi.cs @@ -27,6 +27,12 @@ public async Task<dynamic> SubmitIQCToOA(dynamic queryObj) { + + //if (unity.userName.IsNullOrEmpty()) throw new Exception("鐢ㄦ埛鍚嶄笉鍏佽涓虹┖"); + //if (unity.sectionCode.IsNullOrEmpty()) throw new Exception("搴撲綅缂栧彿涓嶅厑璁镐负绌�"); + //if (unity.barcode.IsNullOrEmpty()) throw new Exception("鏉$爜涓嶅厑璁镐负绌�"); + //if (unity.billNo.IsNullOrEmpty()) throw new Exception("鐢宠鍗曞彿涓嶅厑璁镐负绌�"); + try { // 瑙f瀽璇锋眰鍙傛暟 diff --git a/util/XkyApiHelper.cs b/util/XkyApiHelper.cs index 1cfa324..c66c687 100644 --- a/util/XkyApiHelper.cs +++ b/util/XkyApiHelper.cs @@ -146,7 +146,7 @@ public string operateCompanyCode { get; set; }//鎿嶄綔鑰呮墍灞炲叕鍙哥紪鐮� public string sign { get; set; }//绛惧悕 public long timestamps { get; set; }//璇锋眰鐨勬椂闂存埑 - public object reserver { get; set; }//鎵╁睍瀛楁 + //public object reserver { get; set; }//鎵╁睍瀛楁 /// 鏋勯�犲璞� public static ApiCommonParam NewApiCommon() -- Gitblit v1.9.3