Helius
2021-05-20 fe501f577f47fbd3ec927620e3a7ef3476ba22b1
src/main/java/com/xcong/excoin/common/response/Result.java
@@ -24,6 +24,8 @@
    private static final int FAIL = -1;
    private static final int LOGIN_FAIL = -2;
    private static final int LOADING = -4;
    @ApiModelProperty(value = "状态码", example = "0")
    private int code;
@@ -77,4 +79,11 @@
        result.msg = msg;
        return result;
    }
    public static Result loading(String msg) {
        Result result = new Result();
        result.code = LOADING;
        result.msg = msg;
        return result;
    }
}