|
@@ -152,15 +152,10 @@ public:
|
|
|
return;
|
|
|
}
|
|
|
else if (!m_fsm.IsInMainPage()) {//判断是否在首页
|
|
|
- CSimpleStringA strValue;
|
|
|
- if (this->GetFunction()->GetSysVar("UIState", strValue) == Error_Succeed && strValue.Compare("M") == 0) {
|
|
|
- DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM)("PreOnline UIState is M,continue handle");
|
|
|
- }
|
|
|
- else {
|
|
|
- DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM)("PreOnline req is unhandled UIState is %s,CardissuerStore is busying", strValue.GetData());
|
|
|
- ctx->Answer(Error_InvalidState, CardIssuerStore_UserErrorCode_CardActive_CardStore_Issuing);
|
|
|
- return;
|
|
|
- }
|
|
|
+ DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM)("PreOnline req is unhandled ,CardissuerStore is busying");
|
|
|
+ ctx->Answer(Error_InvalidState, CardIssuerStore_UserErrorCode_CardActive_CardStore_Issuing);
|
|
|
+ return;
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
PreOnlineEvent* e = new PreOnlineEvent();
|
|
@@ -635,15 +630,9 @@ public:
|
|
|
return;
|
|
|
}
|
|
|
else if (!m_fsm.IsInMainPage()) {
|
|
|
- CSimpleStringA strValue;
|
|
|
- if (this->GetFunction()->GetSysVar("UIState", strValue) == Error_Succeed && strValue.Compare("M") == 0) {
|
|
|
- DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM)("PreOnline UIState is M,continue handle");
|
|
|
- }
|
|
|
- else {
|
|
|
- DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM)("PreOnlineCrossJS req is unhandled UIState is %s,CardissuerStore is busying", strValue.GetData());
|
|
|
- ctx->Answer(Error_InvalidState, CardIssuerStore_UserErrorCode_CardActive_CardStore_Issuing);
|
|
|
- return;
|
|
|
- }
|
|
|
+ DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM)("PreOnlineCrossJS req is unhandled ,CardissuerStore is busying");
|
|
|
+ ctx->Answer(Error_InvalidState, CardIssuerStore_UserErrorCode_CardActive_CardStore_Issuing);
|
|
|
+ return;
|
|
|
}
|
|
|
else {
|
|
|
PreOnlineCrossJSEvent* pEvt = new PreOnlineCrossJSEvent();
|