|
发表于 2020-4-17 23:18:24
|
显示全部楼层
} catch (Exception e) {
' c& e5 s$ v7 o2 L. V, \ log.error("{}[{}]", e.getMessage(), e);
+ s4 w! m- N' Q/ z# r' g responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");
) A x( F9 @+ ?/ s0 K8 o/ h responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));
. u- o' r/ ?/ a" k' w } finally {- N: Y6 N! _2 ?! _1 [! Z
return responseObject;
, b' ^( C E( z } |
|