src/main/java/com/moon/server/helper/WebHelper.java
@@ -34,6 +34,15 @@ private final static Log log = LogFactory.getLog(WebHelper.class); /** * 保留小数位 */ public static double round(double val, double size) { double power = Math.pow(10.0, size); return Math.round(val * power) / power; } /** * 获取GUID */ public static String getGuid() {