Ver Fonte

add req_all_person_on_car recv

researchman há 5 anos atrás
pai
commit
2952de88c7
2 ficheiros alterados com 3 adições e 0 exclusões
  1. 2 0
      module_service/module_web.cpp
  2. 1 0
      module_service/module_web.h

+ 2 - 0
module_service/module_web.cpp

@@ -59,6 +59,8 @@ void module_web::accept( int ID, std::string const& name,
         else if(JSON_CMD_VALUE_CALL_CARD_CANCEL_REQUEST == cmd)//取消呼叫
         {
             module_call::instance()->accept_cancel(data_value);
+        }else if(JSON_CMD_REQ_ALL_PERSON_ON_CAR == cmd) // 所有在车上的人卡信息
+        {
         }
     }
 }

+ 1 - 0
module_service/module_web.h

@@ -50,6 +50,7 @@ public:
         MsgFuncList.insert( std::make_pair( JSON_CMD_VALUE_CALL_CARD_CANCEL_REQUEST, &module_web::accept ) );
 
         MsgFuncList.insert( std::make_pair( JSON_CMD_VALUE_CLEAR_CARD, &module_web::accept ) );//手动升井
+        MsgFuncList.insert( std::make_pair( JSON_CMD_REQ_ALL_PERSON_ON_CAR,&module_web::accept)); // 接收web端请求的在车上的人卡信息
     }
 
     /// web前端有用户登录时,反馈给web所有信息