From fa8530ab6e4da1defa6772208e270a55a11a01c4 Mon Sep 17 00:00:00 2001 From: fei550 <1420031550@qq.com> Date: Wed, 13 Aug 2025 15:56:42 +0800 Subject: [PATCH] 1 --- .vs/SGGL_SeDin_New/v17/.wsuo | Bin 73216 -> 73216 bytes SGGL/BLL/Common/Funs.cs | 18 ++++++++++++++++++ .../HSSE/CostGoods/CostManageEdit.aspx | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.vs/SGGL_SeDin_New/v17/.wsuo b/.vs/SGGL_SeDin_New/v17/.wsuo index 7f5969003285703035b592ad9f8fad2b4e7e50b7..6c1e3e65c695337400141b0ae6f2d8f4760f0e44 100644 GIT binary patch delta 886 zcmZqJ!_u&aWkLX>(8j>ujEpRkFES~xX{~&(z;kDFG1F4UP!$FS24NtU0^EtN z^Gl9ftdkEj8E*cRMVF nn;Rx4rzKfhn%9D?1jfeZ?-@ZnD#Tc{Ikz-{lO&VtIOhWZ?2SOU delta 879 zcma)4&rcIU6yBLmw=B*U3s$9QLEb%s5iLFv4|<4^oB~Lrwk`e$2Ex!Wh3GTQItw}Hc%{W7S0j`yWYn_&T&_h;)x7)qM?s4Kjq`}f>!tqxd{Kv^M zXZ|DVuTX!HipDT|$5s=94gU_FEgNIiT+z0j`nokYJ72K!wYgcVm@5>lVs*{Q Token) + { + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; + + var client = new RestClient(Baseurl); + client.Timeout = -1; + var request = new RestRequest(Method.GET); + foreach (var item in Token) + { + request.AddHeader(item.Key, item.Value); + } + request.AddHeader("ClientId", SysConstSetService.ClientId); + request.AddHeader("OperationCode", Baseurl.Substring(Baseurl.LastIndexOf("/", StringComparison.Ordinal) + 1)); + IRestResponse response = client.Execute(request); + return response.Content; + } + + /// /// ¸ù¾ÝÐÇÆÚ¼¸·µ»ØÖµ /// diff --git a/SGGL/FineUIPro.Web/HSSE/CostGoods/CostManageEdit.aspx b/SGGL/FineUIPro.Web/HSSE/CostGoods/CostManageEdit.aspx index 9c8b5f26..f1f153d1 100644 --- a/SGGL/FineUIPro.Web/HSSE/CostGoods/CostManageEdit.aspx +++ b/SGGL/FineUIPro.Web/HSSE/CostGoods/CostManageEdit.aspx @@ -43,7 +43,7 @@ - +