自动化立体仓库 - WMS系统
lsh
2024-10-15 34c4dc2bb555bfa68c90f32852d553afb350d60c
src/main/java/com/zy/common/config/CoolExceptionHandler.java
@@ -28,7 +28,9 @@
    public R handleRRException(CoolException e) {
        String[] split = e.getMessage().split("-");
        if (split.length == 2) {
            return R.parse(e.getMessage());
            if (String.valueOf(split[0]).length() < 3) {
                return R.parse(e.getMessage());
            }
        }
        return R.error(e.getMessage());
    }