From eb7892b61b050646ad11e7a36942c2a2a16a24f2 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期四, 03 七月 2025 20:12:58 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_External/ERPService/InvokeERPService.cs | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_External/ERPService/InvokeERPService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_External/ERPService/InvokeERPService.cs" index f279c45..5ad1885 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_External/ERPService/InvokeERPService.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_External/ERPService/InvokeERPService.cs" @@ -72,6 +72,25 @@ } /// <summary> + /// ERP鐗╂枡閫佹鎺ュ彛璋冪敤 + /// </summary> + public string InvokeInspectApi(ERPInspectModel eRPInspectModel) + { + Dt_ApiInfo apiInfo = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.InvokeErpApi.ToString()); + ERPBaseModel<ERPInspectModel> model = new ERPBaseModel<ERPInspectModel>() + { + Data = eRPInspectModel, + Desc = "鐗╂枡鍑轰粨妫�楠屽崟", + Type = "toTCWMSOUTTest", + SecurityCode = "TeChuang" + }; + string request = JsonConvert.SerializeObject(model, settings); + + string response = HttpHelper.Post(apiInfo.ApiAddress, request); + return response; + } + + /// <summary> /// ERP鐗╂枡鍏ュ簱鍗曟帴鍙h皟鐢� /// </summary> /// <param name="inboundModel"></param> -- Gitblit v1.9.3