@@ -38,6 +38,13 @@ public abstract class AbstractCallBackManager extends AbstractCommManager implem | |||
long begin = System.currentTimeMillis(); | |||
//读缓存 | |||
IssueOrderVO vo = readCache(request.getTransOrderId()); | |||
//特殊处理 | |||
if (needSpecialHandle(request, vo)){ | |||
logger.info("进入特殊处理逻辑"); | |||
InstCallBackResponse response = specialHandle(request, vo); | |||
writeCache(vo); | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} | |||
//业务校验 | |||
valid(request, vo); | |||
//上一步指令执行成功保存数据 | |||
@@ -48,7 +55,7 @@ public abstract class AbstractCallBackManager extends AbstractCommManager implem | |||
CommandHandler cmdHandler = cmdHandlers.get(request.getStepNo()); | |||
if (cmdHandler == null) | |||
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException("未找到处理模块,请联系管理员"); | |||
logger.info("执行在线激活命令第{}步",request.getStepNo()); | |||
logger.info("执行在线激活命令第{}步", request.getStepNo()); | |||
InstCallBackResponse response = cmdHandler.doHandle(request, vo); | |||
response.setStepNo(nextStep(vo, request)).setTransOrderId(request.getTransOrderId()); | |||
//写缓存 | |||
@@ -61,6 +68,14 @@ public abstract class AbstractCallBackManager extends AbstractCommManager implem | |||
} | |||
protected boolean needSpecialHandle(InstCallBackRequest request, IssueOrderVO vo) throws ServiceHandleException { | |||
return false; | |||
} | |||
protected InstCallBackResponse specialHandle(InstCallBackRequest request, IssueOrderVO vo) { | |||
return null; | |||
} | |||
abstract void validInternal(InstCallBackRequest request, IssueOrderVO vo) throws ServiceHandleException; | |||
abstract Integer nextStep(IssueOrderVO vo, InstCallBackRequest request); |
@@ -14,15 +14,18 @@ import cn.com.taiji.core.entity.invw.InvwCardDetails; | |||
import cn.com.taiji.core.entity.invw.InvwObuDetails; | |||
import cn.com.taiji.core.entity.issue.IssueOrderinfo; | |||
import cn.com.taiji.core.entity.issue.IssueProduct; | |||
import cn.com.taiji.core.entity.log.InssInterfaceLog; | |||
import cn.com.taiji.core.entity.managew.ActiveRecord; | |||
import cn.com.taiji.core.entity.ygz.DaspOfflineHasSend; | |||
import cn.com.taiji.core.manager.tools.issue.QdCallUtil; | |||
import cn.com.taiji.core.model.comm.COSConstant; | |||
import cn.com.taiji.core.model.comm.protocol.ias.brz.*; | |||
import cn.com.taiji.core.model.comm.protocol.ias.ygz.YgzCardUploadRequest; | |||
import cn.com.taiji.core.model.comm.protocol.ias.ygz.YgzObuUploadRequest; | |||
import cn.com.taiji.core.model.comm.protocol.ias.ygz.YgzUserUploadRequest; | |||
import cn.com.taiji.core.model.comm.protocol.ias.ygz.YgzVehicleUploadRequest; | |||
import cn.com.taiji.core.model.comm.protocol.inss.inst.InstCallBackRequest; | |||
import cn.com.taiji.core.model.comm.protocol.inss.inst.InstCallBackResponse; | |||
import cn.com.taiji.core.model.comm.protocol.valid.GlyServiceError; | |||
import cn.com.taiji.core.repo.jpa.basic.*; | |||
import cn.com.taiji.core.repo.jpa.invw.InvwCardDetailsRepo; | |||
@@ -31,6 +34,7 @@ import cn.com.taiji.core.repo.jpa.issue.IssueOrderinfoRepo; | |||
import cn.com.taiji.core.repo.jpa.issue.IssueProductRepo; | |||
import cn.com.taiji.core.repo.jpa.managew.ActiveRecordRepo; | |||
import cn.com.taiji.core.repo.jpa.ygz.DaspOfflineHasSendRepo; | |||
import cn.com.taiji.inss.config.VfjConfigProperties; | |||
import cn.com.taiji.inss.manager.model.inst.IssueOrderVO; | |||
import cn.com.taiji.inss.manager.tools.InstTools; | |||
import org.springframework.beans.factory.annotation.Autowired; | |||
@@ -45,6 +49,7 @@ import java.util.List; | |||
import static cn.com.taiji.core.entity.dict.issue.TransactionBizType.*; | |||
import static cn.com.taiji.core.entity.dict.ygz.Operation.ADD; | |||
import static cn.com.taiji.inss.manager.model.inst.InstConstant.CMD_SUCCESS; | |||
@Service | |||
public class InstOnlineActiveMananger extends AbstractCallBackManager { | |||
@@ -681,5 +686,32 @@ public class InstOnlineActiveMananger extends AbstractCallBackManager { | |||
return obuInfo; | |||
} | |||
@Autowired | |||
protected VfjConfigProperties vfjConfig; | |||
@Override | |||
protected boolean needSpecialHandle(InstCallBackRequest request, IssueOrderVO vo) throws ServiceHandleException { | |||
if (request.getStepNo() == 11) { | |||
if (!vo.getLastCos().equals(request.getCmd())) | |||
throw GlyServiceError.FORMAT_VALIDATE_ERR.toHandleException("返回指令信息与指令记录中不一致"); | |||
String[] cmds = vo.getLastCos().split(","); | |||
String[] cmdResults = request.getCmdResult().split(","); | |||
if (cmds.length != cmdResults.length) { | |||
logger.error("cmds.length:{}---cmdResults.length:{}", cmds.length, cmdResults.length); | |||
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException("指令与指令结果的数量不一致"); | |||
} | |||
return !CMD_SUCCESS.equals(cmdResults[3]); | |||
} | |||
return false; | |||
} | |||
@Override | |||
protected InstCallBackResponse specialHandle(InstCallBackRequest request, IssueOrderVO vo) { | |||
String cos_pin = COSConstant.pinVertify_second; | |||
String cmd = COSConstant.selectRoot + COSConstant.COS_SEPERATOR + COSConstant.selectDF01 + COSConstant.COS_SEPERATOR | |||
+ COSConstant.read0015 + COSConstant.COS_SEPERATOR + cos_pin + COSConstant.COS_SEPERATOR | |||
+ COSConstant.initializeLoad(vo.getChargeMoney(), vfjConfig.getTerminalId(), vo.getCardVersion()); | |||
vo.setLastCos(cmd); | |||
return new InstCallBackResponse().setCmd(cmd).setCmdType(vo.getCmdType()).setStepNo(11).setTransOrderId(request.getTransOrderId()); | |||
} | |||
} |
@@ -5,7 +5,6 @@ import cn.com.taiji.core.entity.log.InssInterfaceLog; | |||
import cn.com.taiji.core.manager.comm.LogManager; | |||
import cn.com.taiji.core.model.comm.protocol.inss.vfj.VfjApp4PinBlockRequest; | |||
import cn.com.taiji.core.model.comm.protocol.inss.vfj.VfjApp4PinBlockResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.vfj.VfjServiceCmd; | |||
import cn.com.taiji.core.repo.jpa.log.InssInterfaceLogRepo; | |||
import org.springframework.beans.factory.annotation.Autowired; | |||
import org.springframework.stereotype.Service; | |||
@@ -22,7 +21,7 @@ public class VfjApp4PinBlockManager extends AbstractHandleManager implements Log | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -21,7 +21,7 @@ public class VfjApply4RecoveryManager extends AbstractHandleManager implements L | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -21,7 +21,7 @@ public class VfjApply4UpgradeManager extends AbstractHandleManager implements Lo | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -24,7 +24,7 @@ public class VfjBatchApplyManager extends AbstractHandleManager implements LogMa | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjCfm4CardSndIssueManager extends AbstractHandleManager implements | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjCfm4ObuSndIssueManager extends AbstractHandleManager implements | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjCfmActiveManager extends AbstractHandleManager implements LogMan | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjConfirm4PinBlockManager extends AbstractHandleManager implements | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjConfrim4LoadManager extends AbstractHandleManager implements Log | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjConfrim4PurchaseCappManager extends AbstractHandleManager implem | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjConfrim4PurchaseManager extends AbstractHandleManager implements | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -21,7 +21,7 @@ public class VfjExchangeKeyManager extends AbstractHandleManager implements LogM | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjExtAuth4IssManager extends AbstractHandleManager implements LogM | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -21,7 +21,7 @@ public class VfjGetCmds4RecvManager extends AbstractHandleManager implements Log | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjGetCommandsManager extends AbstractHandleManager implements LogM | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -27,7 +27,7 @@ public class VfjGetVehInfoClearManager extends AbstractHandleManager implements | |||
throw exception(request, InssInterfaceLog.class, "接口错误:返回值解析错误" + e.getMessage()); | |||
} catch (Exception e){ | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -21,7 +21,7 @@ public class VfjInit4LoadManager extends AbstractHandleManager implements LogMan | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -23,7 +23,7 @@ public class VfjInit4PurchaseCappManager extends AbstractHandleManager implement | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjInit4PurchaseManager extends AbstractHandleManager implements Lo | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjObuActiveManager extends AbstractHandleManager implements LogMan | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjQryCardBatchManager extends AbstractHandleManager implements Log | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjQryCardsManager extends AbstractHandleManager implements LogMana | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjQrySmObuBatchManager extends AbstractHandleManager implements Lo | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -23,7 +23,7 @@ public class VfjQueryGmobusManager extends AbstractHandleManager implements LogM | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -24,7 +24,7 @@ public class VfjQueryScobusManager extends AbstractHandleManager implements LogM | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjQueryTriDesObusManager extends AbstractHandleManager implements | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjRecvDoneManager extends AbstractHandleManager implements LogMana | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjUpdateFile000EManager extends AbstractHandleManager implements L | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -23,7 +23,7 @@ public class VfjUpdateFile000FManager extends AbstractHandleManager implements L | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -24,7 +24,7 @@ public class VfjUpdateFile0015Manager extends AbstractHandleManager implements L | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjUpdateFile0016Manager extends AbstractHandleManager implements L | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjUpdateFile0019Manager extends AbstractHandleManager implements L | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -23,7 +23,7 @@ public class VfjUpdateFile001AManager extends AbstractHandleManager implements L | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -21,7 +21,7 @@ public class VfjUpdateSystemInfoManager extends AbstractHandleManager implements | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -22,7 +22,7 @@ public class VfjUpdateVehicleInfoManager extends AbstractHandleManager implement | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||
@@ -21,7 +21,7 @@ public class VfjUpgradeDoneManager extends AbstractHandleManager implements LogM | |||
return onSuccess(request, response, InssInterfaceLog.class, System.currentTimeMillis() - begin); | |||
} catch (Exception e) { | |||
logger.error("VFJ接口请求异常", e); | |||
throw exception(request, InssInterfaceLog.class, "VFJ接口请求异常"); | |||
throw exception(request, InssInterfaceLog.class, e.getMessage()); | |||
} | |||
} | |||