|
@@ -1977,9 +1977,6 @@ int CContactlessCardFSM::PreOnlineJS(SpReqAnsContext<ContactlessCardService_Read
|
|
|
}
|
|
|
return -1;
|
|
|
}
|
|
|
- else {
|
|
|
- ctx->Ans.icState = 1;//调用成功
|
|
|
- }
|
|
|
|
|
|
m_pCardProcess->TermRiskManage();
|
|
|
CSimpleStringA taaResult;
|
|
@@ -2002,6 +1999,7 @@ int CContactlessCardFSM::PreOnlineJS(SpReqAnsContext<ContactlessCardService_Read
|
|
|
if (ctx->Ans.result.GetLength() == 0)
|
|
|
{
|
|
|
DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM)("<PreOnlineJS>,TermActionAnalyze result len = 0");
|
|
|
+ ctx->Ans.icState = 0;
|
|
|
ctx->Answer(Error_Succeed);
|
|
|
return 0;
|
|
|
}
|
|
@@ -2165,6 +2163,7 @@ int CContactlessCardFSM::PreOnlineJS(SpReqAnsContext<ContactlessCardService_Read
|
|
|
result = strResult.second.c_str();
|
|
|
|
|
|
ctx->Ans.result = result.c_str();
|
|
|
+ ctx->Ans.icState = 1;
|
|
|
DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("data to host result=%s,len=%d", result.c_str(),result.length());
|
|
|
|
|
|
|