backend/archive-backStage/archive-web/src/main/java/com/changhong/archive/interceptor/JsonMessageConverter.java | ●●●●● patch | view | raw | blame | history |
backend/archive-backStage/archive-web/src/main/java/com/changhong/archive/interceptor/JsonMessageConverter.java
@@ -9,6 +9,7 @@ import com.alibaba.fastjson.JSONObject; import com.changhong.archive.constant.demo.DemoConst; import com.changhong.archive.tools.ObjectTool; import org.springframework.http.HttpOutputMessage; import org.springframework.http.converter.HttpMessageNotWritableException; @@ -64,7 +65,9 @@ * 其它 */ else{ bm.setRspDesc(e.getMessage()); bm.setRspCode(DemoConst.E10000); bm.setRspDesc(DemoConst.E10000Msg); //bm.setRspDesc(e.getMessage()); } return bm; }