xiangpei
2024-10-27 d01fa2df1b46f45647e82be6d1476ea1e295f995
src/main/java/com/ycl/jxkg/base/Result.java
@@ -83,6 +83,19 @@
    }
    /**
     * Ok rest response.
     *
     * @return the rest response
     */
    public static Result ok(String msg) {
        SystemCode systemCode = SystemCode.OK;
        Result restResponse = new Result();
        restResponse.put("code", systemCode.getCode());
        restResponse.put("message", msg);
        return restResponse;
    }
    /**
     * Gets code.
     *
     * @return the code