@@ -55,7 +55,6 @@ void forbid_staff_down_mine::init_forbid_staff(int id /* = -1*/,int etype)
,key,staff_id,state,start_time.c_str(),end_time.c_str());
break;
}
- if (f) continue;
if(f)continue;
//ET_UPDATE
@@ -3,7 +3,6 @@
#include <thread>
#include <chrono>
#include <boost/locale.hpp>
-#include <tool_time.h>
#include"log.h"
@@ -85,7 +84,7 @@ namespace YA
else
{
- unsigned int cur_time = tool_time::now_to_seconds();
+ unsigned int cur_time = time(0);
__connet_time = cur_time;
__recv_ping_time = cur_time;
nRet = 0;