自动化立体仓库 - WMS系统
zhangchao
2024-11-05 cef894f7e1489cd776a9ebd91c1b358c9a241dcf
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());
    }