瀏覽代碼

!10768 1. 身份证GetDevInfo日志精简 2. 集中配置定时更新去除非必要日志
Merge pull request !10768 from 80310970/IDCerRTAadd_CJL

杨诗友80174847 4 月之前
父節點
當前提交
3b16f56dca
共有 2 個文件被更改,包括 1 次插入14 次删除
  1. 1 13
      Module/mod_IDCertificate/mod_IDCertificate.h
  2. 0 1
      Module/mod_vtmloader/VtmLoaderFSM.cpp

+ 1 - 13
Module/mod_IDCertificate/mod_IDCertificate.h

@@ -138,21 +138,9 @@ public:
 			DevCategoryInfo devCatInfo;
 			CSimpleStringA devType = "";
 			ctx->Ans.state = m_fsm.GetDevCatInfo(devCatInfo, devType);
-
-			DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
-				("devType:%s", (const char*)devType);
 			ctx->Ans.model = devCatInfo.szModel;
-			DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
-				("szModel:%s", (const char*)devCatInfo.szModel);
 			ctx->Ans.type = devCatInfo.szType;
-			DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
-				("szType:%s", (const char*)devCatInfo.szType);
-			ctx->Ans.type += ((devType == "4") ? "#IG" : "#");//如果版本号为4,说明是嵌入式多合一(目前也有可能是新大机20190910@zjw),郭丹再判断机型是PAD,说明是PAD+嵌入式多合一,则读完证后不调用吐卡操作
-			DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
-				("%s", (const char*)ctx->Ans.type);
-			if (ctx->Ans.model.GetLength() < 256)
-				DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetDevInfo")
-				("%s", (const char*)ctx->Ans.model);
+			ctx->Ans.type += ((devType == "4") ? "#IG" : "#");
 
 			ctx->Answer(Error_Succeed);
 

+ 0 - 1
Module/mod_vtmloader/VtmLoaderFSM.cpp

@@ -3059,7 +3059,6 @@ DWORD CVtmLoaderFSM::GetCenterCfgThread()
 
 	if (!isUpdate)
 	{
-		DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("GetCenterSetting")("Centersetting not changed from spshell");
 		return -1;
 	}