Commit 67d75f09 by KingBoy

初步完成异常体系设计

parent 49e014c7
......@@ -29,6 +29,15 @@ public final class JsonUtils {
}
/**
* 对象转换为json
* @param object
* @return
*/
public static String beanToJson(Object object) {
return JSON.toJSONString(object);
}
/**
* 对象转换为json,可以带上date的格式化
* @param object
* @return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment