|
|
@ -121,6 +121,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【状态采集】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【状态采集】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
try { |
|
|
|
try { |
|
|
@ -287,6 +290,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【申请认证】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【申请认证】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
//返回解析
|
|
|
|
//返回解析
|
|
|
@ -374,6 +380,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【发票认证查询】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【发票认证查询】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
//返回解析
|
|
|
|
//返回解析
|
|
|
@ -493,6 +502,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【申请确认】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【申请确认】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -604,6 +616,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【获取确认结果】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【获取确认结果】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
//返回解析
|
|
|
|
//返回解析
|
|
|
@ -731,6 +746,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【获取企业档案】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【获取企业档案】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -790,6 +808,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【重置密码】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【重置密码】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -836,6 +857,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【设置密码】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【设置密码】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
SetPasswordVO setPasswordVO = BeanUtil.copyProperties(resp, SetPasswordVO.class); |
|
|
|
SetPasswordVO setPasswordVO = BeanUtil.copyProperties(resp, SetPasswordVO.class); |
|
|
@ -914,6 +938,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
// 大象请求异常
|
|
|
|
// 大象请求异常
|
|
|
|
log.error("【进项服务类】【大象】【全票面采集】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【全票面采集】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1071,6 +1098,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【主信息采集】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【主信息采集】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
//返回解析
|
|
|
|
//返回解析
|
|
|
@ -1163,6 +1193,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【获取统计信息】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【获取统计信息】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
//返回解析
|
|
|
|
//返回解析
|
|
|
@ -1280,6 +1313,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【申请统计】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【申请统计】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1384,6 +1420,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【获取统计结果】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【获取统计结果】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1580,6 +1619,9 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
log.error("【进项服务类】【大象】【状态采集】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
log.error("【进项服务类】【大象】【状态采集】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
|
|
|
if(e.getMessage().indexOf("secret") != -1){ |
|
|
|
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_KEY_ERROR); |
|
|
|
|
|
|
|
} |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
if (resp.getString("ZTDM").equals("0000")) { |
|
|
|
if (resp.getString("ZTDM").equals("0000")) { |
|
|
|