自动化立体仓库 - WMS系统
zhangc
2024-12-05 55129aa7f1f5910e88f7c615502c27a18e427815
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());
    }