Authored by zhengyouwei

resp

@@ -43,7 +43,7 @@ public class DataCollectionCtrl { @@ -43,7 +43,7 @@ public class DataCollectionCtrl {
43 } 43 }
44 ClientWriteRunnable clientWriteRunnable = new ClientWriteRunnable(_mlogs, "ios"); 44 ClientWriteRunnable clientWriteRunnable = new ClientWriteRunnable(_mlogs, "ios");
45 ThreadPool.run(clientWriteRunnable); 45 ThreadPool.run(clientWriteRunnable);
46 - return new BaseRespone(); 46 + return BaseRespone.successResp(null);
47 47
48 } 48 }
49 49
@@ -63,7 +63,7 @@ public class DataCollectionCtrl { @@ -63,7 +63,7 @@ public class DataCollectionCtrl {
63 } 63 }
64 ClientWriteRunnable clientWriteRunnable = new ClientWriteRunnable(_mlogs, "android"); 64 ClientWriteRunnable clientWriteRunnable = new ClientWriteRunnable(_mlogs, "android");
65 ThreadPool.run(clientWriteRunnable); 65 ThreadPool.run(clientWriteRunnable);
66 - return new BaseRespone(); 66 + return BaseRespone.successResp(null);
67 } 67 }
68 68
69 /** 69 /**
@@ -81,7 +81,7 @@ public class DataCollectionCtrl { @@ -81,7 +81,7 @@ public class DataCollectionCtrl {
81 } 81 }
82 ClientPatchRunnable clientWriteRunnable = new ClientPatchRunnable(_mlogs, "ios"); 82 ClientPatchRunnable clientWriteRunnable = new ClientPatchRunnable(_mlogs, "ios");
83 ThreadPool.run(clientWriteRunnable); 83 ThreadPool.run(clientWriteRunnable);
84 - return new BaseRespone(); 84 + return BaseRespone.successResp(null);
85 85
86 } 86 }
87 87
@@ -101,7 +101,7 @@ public class DataCollectionCtrl { @@ -101,7 +101,7 @@ public class DataCollectionCtrl {
101 } 101 }
102 ClientPatchRunnable clientWriteRunnable = new ClientPatchRunnable(_mlogs, "android"); 102 ClientPatchRunnable clientWriteRunnable = new ClientPatchRunnable(_mlogs, "android");
103 ThreadPool.run(clientWriteRunnable); 103 ThreadPool.run(clientWriteRunnable);
104 - return new BaseRespone(); 104 + return BaseRespone.successResp(null);
105 } 105 }
106 106
107 public String getMlogs(HttpServletRequest request) { 107 public String getMlogs(HttpServletRequest request) {