From e34f1c323e7154adc2df7f6697db8d9ba658b09f Mon Sep 17 00:00:00 2001
From: tjx <t2856754968@163.com>
Date: 星期二, 14 十月 2025 16:02:23 +0800
Subject: [PATCH] 修正erp接收的返回信息

---
 WebApi/Gs.Toolbox/InterfaceUtil.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/WebApi/Gs.Toolbox/InterfaceUtil.cs b/WebApi/Gs.Toolbox/InterfaceUtil.cs
index f82cd7d..1d5c889 100644
--- a/WebApi/Gs.Toolbox/InterfaceUtil.cs
+++ b/WebApi/Gs.Toolbox/InterfaceUtil.cs
@@ -76,7 +76,7 @@
         if (_rtn != -1)
         {
             Result _result = JsonConvert.DeserializeObject<Result>(responseStr);
-            if ("200".Equals(_result.state))
+            if ("200".Equals(_result.code))
                 _rtn = 1;
         }
 
@@ -116,11 +116,10 @@
     /// <summary>
     /// 200鎴愬姛锛屽惁鍒欏け璐�
     /// </summary>
-    public string? state { get; set; }
+    public string? code { get; set; }
 
     public string? msg { get; set; }
 
-    public string? status { get; set; }
+    public string? count { get; set; }
 
-    public string? message { get; set; }
 }
\ No newline at end of file

--
Gitblit v1.9.3