Browse Source

修正最后更新时间的bug。

zzj 6 years ago
parent
commit
bbe63f6d4d
1 changed files with 6 additions and 6 deletions
  1. 6 6
      websocket/jsonBuilder.cpp

+ 6 - 6
websocket/jsonBuilder.cpp

@@ -71,8 +71,8 @@ namespace YA
               //0 区域编号
               //1 地标编号
               //2 地标方向
-			//3 距离地标的距离
-			//4 进入区域时间戳
+	      //3 距离地标的距离
+	      //4 进入区域时间戳
 		]
 #endif
 	bool jsonBuilder::__BuildDetail( const _CARD_POS_ & CardPos, rapidjson::Document::AllocatorType& Allocator, rapidjson::Value & DetailItem )
@@ -97,12 +97,12 @@ namespace YA
 		Array.PushBack( tmp_object, Allocator );
 
 		//4 进入区域时间戳
-		tmp_object.SetDouble( CardPos.enter_area_time );
-		Array.PushBack( tmp_object, Allocator );
+		//tmp_object.SetDouble( CardPos.enter_area_time );
+		//Array.PushBack( tmp_object, Allocator );
 
 		//5 最后接收时间戳
-		//tmp_object.SetDouble( CardPos.rec_time );
-		//Array.PushBack( tmp_object, Allocator );
+		tmp_object.SetDouble( CardPos.rec_time );
+		Array.PushBack( tmp_object, Allocator );
 
 		//6 工作时长
 		tmp_object.SetDouble( CardPos.work_time );