Browse Source

区域超时时间统一为分钟单位。

zzj 5 years ago
parent
commit
1124ee27d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      module_service/area_business_person_dwell_checker.cpp

+ 1 - 1
module_service/area_business_person_dwell_checker.cpp

@@ -44,7 +44,7 @@ void area_business_person_dwell_checker::on_hover(const std::shared_ptr<area_hov
     {
         c->set_event_flag(evType);
         uint64_t id = tool_other::type_id_to_u64(c->m_type, c->m_id);
-        event_tool::instance()->handle_event(OT_CARD,evType,id,limit_val,cur_val,true);
+        event_tool::instance()->handle_event(OT_CARD,evType,id, a->m_area->m_limit_person_min,cur_val/60,true);
     }
 
 }