自动化立体仓库 - WMS系统
Junjie
2023-05-26 b1786c43535c920c905c2ed7a1d3d2f78b48e4a5
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());
    }