Pārlūkot izejas kodu

#IQRV #comment: 恢复删除错误

陈纪林80310970 4 mēneši atpakaļ
vecāks
revīzija
8ec771338e
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      Module/mod_IDCertificate/mod_IDCertificate.h

+ 4 - 0
Module/mod_IDCertificate/mod_IDCertificate.h

@@ -138,8 +138,12 @@ public:
 			DevCategoryInfo devCatInfo;
 			CSimpleStringA devType = "";
 			ctx->Ans.state = m_fsm.GetDevCatInfo(devCatInfo, devType);
+			ctx->Ans.model = devCatInfo.szModel;
+			ctx->Ans.type = devCatInfo.szType;
+			ctx->Ans.type += ((devType == "4") ? "#IG" : "#");
 
 			ctx->Answer(Error_Succeed);
+
 			return;
 		}
 	}