Explorar o código

修复V2接口上报在线数据时,对json字段名称解析错误的Bug.

JeffWang %!s(int64=2) %!d(string=hai) anos
pai
achega
a23f361d4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      FactoryTool_CShare/Business/V2Method.cs

+ 1 - 1
FactoryTool_CShare/Business/V2Method.cs

@@ -595,7 +595,7 @@ namespace MOKA_Factory_Tools
                 try
                 {
                     JObject jObject = JObject.Parse(ParseText);
-                    string msg = jObject["message"].Value<string>();
+                    string msg = jObject["msg"].Value<string>();
                     string code = jObject["code"].Value<string>();
 
                     if (code == "0")