发票接口提示优化
This commit is contained in:
parent
ad989848b3
commit
0957ee72be
|
@ -749,6 +749,8 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF
|
|||
JSONObject jsonObject = JSONObject.parseObject(linkPostjson);
|
||||
token = jsonObject.getString("id");
|
||||
logger.info("获取OaToken接口返回id"+token);
|
||||
}else {
|
||||
this.getView().showTipNotification("OaToken接口数据异常,请联系系统管理员!");
|
||||
}
|
||||
return token;
|
||||
} catch (Exception e) {
|
||||
|
@ -779,6 +781,8 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF
|
|||
if (StringUtils.isNotEmpty(linkPostjson)) {
|
||||
JSONObject jsonObject = JSONObject.parseObject(linkPostjson);
|
||||
return jsonObject;
|
||||
}else {
|
||||
this.getView().showTipNotification("parseOCRData接口数据异常,请联系系统管理员!");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.info(String.format("获取parseOCRData接口异常:%s", e.getMessage()));
|
||||
|
@ -808,6 +812,8 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF
|
|||
if (StringUtils.isNotEmpty(linkPostjson)) {
|
||||
JSONObject jsonObject = JSONObject.parseObject(linkPostjson);
|
||||
return jsonObject;
|
||||
}else {
|
||||
this.getView().showTipNotification("saveOutInvoice接口数据异常,请联系系统管理员!");
|
||||
}
|
||||
}catch (Exception e){
|
||||
logger.info(String.format("saveOutInvoice接口异常:%s", e.getMessage()));
|
||||
|
@ -831,6 +837,8 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF
|
|||
if (StringUtils.isNotEmpty(linkPostjson)) {
|
||||
JSONObject jsonObject = JSONObject.parseObject(linkPostjson);
|
||||
return jsonObject;
|
||||
}else {
|
||||
this.getView().showTipNotification("delInvoice接口数据异常,请联系系统管理员!");
|
||||
}
|
||||
}catch (Exception e){
|
||||
logger.info(String.format("delInvoice接口异常:%s", e.getMessage()));
|
||||
|
|
Loading…
Reference in New Issue