自动化立体仓库 - WMS系统
pang.jiabao
2024-11-03 0009bb19c1146623ebff97f6615a266974c0b538
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());
    }