huanghongfa
2021-01-28 1f1ad24ae5ece62f88b7b31c05a874ba1d07abcb
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/R.java
@@ -87,5 +87,14 @@
        return apiResult;
    }
    /**
     * 请求是否成功
     * @return
     */
    public static boolean isOk(R r){
        return r.code==Constants.SUCCESS.intValue();
    }
}