Sfoglia il codice sorgente

#IQRV #comment: 身份证GetDevInfo日志精简

陈纪林80310970 5 mesi fa
parent
commit
9aa72ebcab
1 ha cambiato i file con 0 aggiunte e 16 eliminazioni
  1. 0 16
      Module/mod_IDCertificate/mod_IDCertificate.h

+ 0 - 16
Module/mod_IDCertificate/mod_IDCertificate.h

@@ -139,23 +139,7 @@ public:
 			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->Answer(Error_Succeed);
-
 			return;
 		}
 	}