@@ -0,0 +1,1439 @@
+package com.lance.quartz.common.json;%0A%0Aimport com.alibaba.fastjson.JSON;%0A%0Apublic class ResultInfo %7B%0A%09/**%0A%09 * %E6%89%A7%E8%A1%8C%E6%88%90%E5%8A%9F%0A%09 * @return%0A%09 * @author lance%0A%09 * 2015%E5%B9%B412%E6%9C%8830%E6%97%A5 %E4%B8%8B%E5%8D%8811:40:15%0A%09 */%0A%09public synchronized static String success() %7B%0A        return success(null, null);%0A    %7D%0A%09%0A%09/**%0A%09 * %E6%89%A7%E8%A1%8C%E6%88%90%E5%8A%9F%0A%09 * @return%0A%09 * @author lance%0A%09 * 2015%E5%B9%B412%E6%9C%8830%E6%97%A5 %E4%B8%8B%E5%8D%8811:40:15%0A%09 */%0A%09public synchronized static String success(Object obj) %7B%0A        return success(obj, null);%0A    %7D%0A%09/**%0A%09 * %E8%BD%AC%E5%8C%96%E6%89%A7%E8%A1%8C%E6%88%90%E5%8A%9F, %E5%B9%B6%E6%8A%8A%E6%88%90%E5%8A%9F%E7%9A%84%E7%BB%93%E6%9E%9C%E4%BB%A5JSON%E5%AF%B9%E8%B1%A1%E4%BC%A0%E7%BB%99%E5%89%8D%E7%AB%AF%0A%09 * @param obj%09%09%09%09%E8%BD%AC%E5%8C%96%E7%9A%84%E5%AF%B9%E8%B1%A1%0A%09 * @param filterPropNames%09%E9%9C%80%E8%A6%81%E8%BF%87%E6%BB%A4%E7%9A%84%E5%AD%97%E6%AE%B5%0A%09 * @author lance%0A%09 * 2015%E5%B9%B412%E6%9C%8830%E6%97%A5 %E4%B8%8B%E5%8D%8811:40:34%0A%09 */%0A    public synchronized static String success(Object obj, String%5B%5D filterPropNames) %7B%0A        return success(obj, true, filterPropNames);%0A    %7D%0A    %0A    public synchronized static String success(Object obj, boolean isRefDetect, String%5B%5D filterPropNames) %7B%0A        ResponseBodyInfo%3CObject%3Ebody = new ResponseBodyInfo%3C%3E(0, %22%22, obj);%0A        return JSON.toJSONString(body);%0A    %7D%0A%0A    %0A    /**%0A     * %E8%BF%94%E5%9B%9E%E9%94%99%E8%AF%AF%E5%AF%B9%E8%B1%A1%0A     * @param code%09%09%E9%94%99%E8%AF%AF%E4%BB%A3%E7%A0%81%0A     * @param message%09%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%0A     * @author lance%0A     * 2015%E5%B9%B412%E6%9C%8830%E6%97%A5 %E4%B8%8B%E5%8D%8811:36:32%0A     */%0A    public synchronized static String error(int code, String message) %7B%0A        return error(code, message, null);%0A    %7D%0A    %0A    public synchronized static String error(int code, String message, Object obj) %7B%0A    %09ResponseBodyInfo%3CObject%3Ebody = new ResponseBodyInfo%3C%3E(code, message, obj);%0A        return JSON.toJSONString(body);%0A    %7D%0A%7D

add result info