|
@@ -88,15 +88,15 @@ void net_service::on_message(std::shared_ptr<client> clt,const char*data,size_t
|
|
index++;
|
|
index++;
|
|
task*t=task::alloc<message_locinfo>();
|
|
task*t=task::alloc<message_locinfo>();
|
|
message_locinfo&m=t->body<message_locinfo>();
|
|
message_locinfo&m=t->body<message_locinfo>();
|
|
|
|
+ m.m_site_id=site_id;
|
|
m.load(is,false);
|
|
m.load(is,false);
|
|
m.m_time_stamp=tstamp;
|
|
m.m_time_stamp=tstamp;
|
|
- m.m_site_id=site_id;
|
|
|
|
//t_site->m_site_data = 0;
|
|
//t_site->m_site_data = 0;
|
|
|
|
|
|
t->m_cmd_code=cmd;
|
|
t->m_cmd_code=cmd;
|
|
t->m_hash_id=m.m_card_id;
|
|
t->m_hash_id=m.m_card_id;
|
|
if(m.m_card_type==5)
|
|
if(m.m_card_type==5)
|
|
- mine_business::inst()->make_reverse_condition(m.m_card_type,m.m_card_id,m.m_ant_id,m.m_card_ct,m.m_tof,m.m_site_id);
|
|
|
|
|
|
+ mine_business::inst()->make_reverse_condition(m.m_card_type,m.m_card_id,m.m_ant_id,m.m_card_ct,m.m_tof,m.m_site_id);
|
|
m_loc_worker->request(t);
|
|
m_loc_worker->request(t);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -109,8 +109,8 @@ void net_service::on_message(std::shared_ptr<client> clt,const char*data,size_t
|
|
{
|
|
{
|
|
task*t=task::alloc<message_locinfo>();
|
|
task*t=task::alloc<message_locinfo>();
|
|
message_locinfo&m=t->body<message_locinfo>();
|
|
message_locinfo&m=t->body<message_locinfo>();
|
|
- m.load(is,true);
|
|
|
|
m.m_site_id=site_id;
|
|
m.m_site_id=site_id;
|
|
|
|
+ m.load(is,true);
|
|
t->m_cmd_code=cmd;
|
|
t->m_cmd_code=cmd;
|
|
t->m_hash_id=m.m_card_id;
|
|
t->m_hash_id=m.m_card_id;
|
|
m_sync_worker->translate(m);
|
|
m_sync_worker->translate(m);
|