Преглед на файлове

navigation complete test

git преди 5 години
родител
ревизия
0de830700b
променени са 3 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      Home/Common/pub_func.php
  2. 2 2
      Home/Lib/Action/CronAction.class.php
  3. 1 1
      czapp

+ 1 - 1
Home/Common/pub_func.php

@@ -10,7 +10,7 @@
 		//考勤记录分析结果生产者
 		$rk = new RdKafka\Producer();
 		$rk->setLogLevel(LOG_DEBUG);
-		$rk->addBrokers("127.0.0.1");
+		$rk->addBrokers(C('KAFKA_BROKER_LIST'));
 		$start = microtime(true);
 		$topic_obj = $rk->newTopic($topic);
 		/********************* 初始化生产者配置项 end **************************/

+ 2 - 2
Home/Lib/Action/CronAction.class.php

@@ -329,7 +329,7 @@ class CronAction extends Action {
 		
 		// fly 轨迹数据
 		$msg_data = array(
-			'StationCode' => '30B5F101237D',
+			'StationCode' => '30B5F1012539',
 			"Longitude" => "120.600889",
 			"Latitude" => "30.191478",
 			"Address" => "华城·和瑞科技广场(长河路475号)",
@@ -337,7 +337,7 @@ class CronAction extends Action {
 			"CityId" => "2902",
 			"StationName" => "基站名称",
 			"AddTime" => date('Y-m-d H:i:s',strtotime('-3 minutes')),
-			"VehicleNumber" => "86412717AC",
+			"VehicleNumber" => "800000241B",
 			"VehicleStatus" =>  "1",
 			"SignalCount" => 88,
 			"OnlineTime" => date('Y-m-d H:i:s',strtotime('-2 minutes'))

+ 1 - 1
czapp

@@ -1 +1 @@
-Subproject commit 5f29df34ed57eda25ab02c3a24c0f701ca6175d7
+Subproject commit 3fc8b5d3d34e666c71ec88a1e5be65da758bd95e