zhaowenxuan
2024-11-28 edd6968aa0f62dce0229f6addb8a0762696eed0d
ltkj-framework/src/main/java/com/ltkj/framework/web/exception/GlobalExceptionHandler.java
@@ -53,8 +53,8 @@
    public AjaxResult handleServiceException(ServiceException e, HttpServletRequest request) {
        log.error(e.getMessage(), e);
        Integer code = e.getCode();
//        return StringUtils.isNotNull(code) ? AjaxResult.error(code, e.getMessage()) : AjaxResult.error(e.getMessage());
        return AjaxResult.error("数据处理异常,请联系管理员!");
        return StringUtils.isNotNull(code) ? AjaxResult.error(code, e.getMessage()) : AjaxResult.error(e.getMessage());
//        return AjaxResult.error("数据处理异常,请联系管理员!");
    }
    /**