gongchunyi
8 天以前 9f3689ea26fd2158ffafd31a7932b1e685b0252b
src/main/java/com/ruoyi/framework/web/domain/AjaxResult.java
@@ -177,7 +177,17 @@
     */
    public boolean isSuccess()
    {
        return !isError();
        return Objects.equals(HttpStatus.SUCCESS, this.get(CODE_TAG));
    }
    /**
     * 是否为警告消息
     *
     * @return 结果
     */
    public boolean isWarn()
    {
        return Objects.equals(HttpStatus.WARN, this.get(CODE_TAG));
    }
    /**