huanghongfa
2020-12-30 43a8d7b9b93555f6c1c8526bae6074d2ab06d045
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();
    }
}