44323
2024-05-24 a623f1eb91b1d89872e3582b5747e9d7096ea225
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/domain/R.java
@@ -17,6 +17,10 @@
    /** 失败 */
    public static final int FAIL = Constants.FAIL;
    /**
     * 登陆失效
     */
    public static final int TOKEN_ERROR = Constants.TOKEN_ERROR;
    private int code;
@@ -43,6 +47,10 @@
    {
        return restResult(null, FAIL, null);
    }
    public static <T> R<T> tokenError(String msg)
    {
        return restResult(null, TOKEN_ERROR, msg);
    }
    public static <T> R<T> fail(String msg)
    {