Skip to content

Commit

Permalink
V1.3.8-11:优化resultUtil不同系统的错误信息获取
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhen40 committed Nov 21, 2018
1 parent 725e2a6 commit 4bb8bcc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions soap/src/main/java/com/zyy/soap/result/ResultUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,20 @@ public static String getError(String data, Soap.SYSTEM system) {

/** =======================================新的错误处理======================================================== */

/**
* 民爆系统
* @param e
* @return
*/
public static String getErrorMsgForMB(Throwable e) {
return getErrorMessage(e, Soap.SYSTEM.MINBAO);
}

/**
* 剧毒易制爆系统
* @param e
* @return
*/
public static String getErrorMsgForJDYZB(Throwable e) {
return getErrorMessage(e, Soap.SYSTEM.JDYZB);
}
Expand Down

0 comments on commit 4bb8bcc

Please sign in to comment.