From a89689b92b07cf1830ad8b46521eda92e7f927c0 Mon Sep 17 00:00:00 2001
From: pansen <pansen626@sina.com>
Date: 星期三, 30 一月 2019 16:37:45 +0800
Subject: [PATCH] 修改bug

---
 QiaoJiaSystem/DataManagerServer/http_configserver.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/QiaoJiaSystem/DataManagerServer/http_configserver.cpp b/QiaoJiaSystem/DataManagerServer/http_configserver.cpp
index f781e87..b793b61 100644
--- a/QiaoJiaSystem/DataManagerServer/http_configserver.cpp
+++ b/QiaoJiaSystem/DataManagerServer/http_configserver.cpp
@@ -2040,7 +2040,7 @@
 
             subJson.append("\"IsSync\":\"" + item.second.uploadFlag + "\",");
             subJson.append("\"threshold\":\"" + item.second.cmpThreshold + "\",");
-            subJson.append("\"create_by\":\"" + item.second.create_by + "\",");
+            subJson.append("\"createBy\":\"" + item.second.create_by + "\",");
             subJson.append("\"enabled\":\"" + item.second.enabled + "\"");
             subJson.append("},");
             json.append(subJson);
@@ -2086,7 +2086,7 @@
             subJson.append("\"end_time\":\"" + item.endTime + "\",");
             subJson.append("\"IsSync\":\"" + item.uploadFlag + "\",");
             subJson.append("\"threshold\":\"" + item.cmpThreshold + "\",");
-            subJson.append("\"create_by\":\"" + item.createBy + "\",");
+            subJson.append("\"createBy\":\"" + item.createBy + "\",");
             subJson.append("\"enabled\":\"" + item.enabled + "\"");
             subJson.append("},");
             json.append(subJson);
@@ -2590,7 +2590,7 @@
     perInfo["StartTime"] = StartTime;
     perInfo["EndTime"] = EndTime;
     perInfo["IsSync"] = UploadFlag;
-    perInfo["threshold"] = CmpThreshold;
+    perInfo["threshold"] = atoi(CmpThreshold.c_str());
     perInfo["enabled"] = Enabled;
     perInfo["distributionIds"] = m_cluster_id;
     perInfo["distributionNames"] = m_cluster_name;

--
Gitblit v1.8.0