Kaynağa Gözat

三率测试修改BUG 及 部分代码优化

chensongchao 6 yıl önce
ebeveyn
işleme
a2e3c839f0

+ 1 - 1
Makefile.am

@@ -24,7 +24,7 @@ AM_SOURCES=$(SRC_MONKEYCAR) $(SRC_MODULE_SERVICE) $(SRC_MAIN) $(SRC_MAIN_EVENT)
 
 AM_CPPFLAGS=-Wall -pthread -m64 -g -O0 -std=c++11  -I${prefix}/include -I/usr/local/mysql/include -Iwebsocket -Iwebsocket/sio -I./db  -Imodule_service
 
-AM_LDFLAGS=-Wall -pthread -m64 -g -O0 -std=c++11  -L${prefix}/lib  -L/usr/local/mysql/lib
+AM_LDFLAGS=-Wall -pthread -m64 -g -O0 -std=c++11  -L${prefix}/lib  -L/usr/local/mysql/lib -L../dist/lib
 
 yals_SOURCES=${AM_SOURCES} main.cpp
 yals_CPPFLAGS=${AM_CPPFLAGS} 

+ 1 - 1
module_service/area_business_person_dwell_checker.cpp

@@ -40,7 +40,7 @@ void area_business_person_dwell_checker::on_enter(const std::shared_ptr<area_hov
     ptr_temp->m_enter_time = tool_time::now_to_seconds();
     ptr_temp->m_level_time = 0;
     ptr_temp->m_level_point.set(0,0,0);
-    a->m_data[this->area_business_type()] = ptr;
+    //a->m_data[this->area_business_type()] = ptr;
     log_info("area_business_person_dwell_checker::on_enter : In Area=%d Card = %d  ",a->m_area->is_mine(),c->m_id);
 }