Quellcode durchsuchen

Z991239-5729 #comment feat: 身份证告警码调整

陈纪林80310970 vor 11 Monaten
Ursprung
Commit
18af5f8fb5

+ 1 - 1
Module/mod_IDCertificate/IDCertFSM.cpp

@@ -1092,7 +1092,7 @@ ErrorCodeEnum CIDCertFSM::GetPngBlobEx(CBlob &data, CSimpleStringA fileNamePrefi
 	if (!ExistsFileA((const char*)(strPath + ".bmp")))
 	{
 		CSimpleStringA warnMsg = CSimpleStringA::Format("Cannot find %s.bmp in NEW dep path!", fileNamePrefix.GetData());
-		LogWarn(Severity_Middle, Error_Unexpect, IDCertificate_UserErrorCode_GetDepPath_Failed, warnMsg.GetData());
+		LogWarn(Severity_Middle, Error_Unexpect, IDCertificate_UserErrorCode_GetNewDepFile_Failed, warnMsg.GetData());
 
 		eErr = m_pEntity->GetFunction()->GetPath("DepBak", strPath);
 		DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("[DepBak]%s,%s", SpStrError(eErr), strPath.GetData());

+ 1 - 1
Module/mod_IDCertificate/IDCertificate_UserErrorCode.h

@@ -29,7 +29,7 @@
 #define IDCertificate_UserErrorCode_ReadAndScan_GetIDInfo	(IDCertificate_UserErrorCode_Start + 29) //读取身份证信息 错误码为 2010021d
 #define IDCertificate_UserErrorCode_ReadAndScan_TransImgFaild (IDCertificate_UserErrorCode_Start + 30) // 扫描图片获取失败错误码为 2010021e
 #define IDCertificate_UserErrorCode_ReadAndScan_NotOnReading	0x2010021f //实体不在读证状态
-#define IDCertificate_UserErrorCode_GetDepPath_Failed			0x20100220
+#define IDCertificate_UserErrorCode_GetNewDepFile_Failed		0x20100220 //新dep目录下获取文件失败
 
 
 //#define IDCertificate_UserErrorCode_Real_Root_Config		(IDCertificate_UserErrorCode_Start + 31) //加载实际的root配置