IdUtil.java 197 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 package com.phxl.common.utils; import java.util.UUID; /** * id生成 */ public class IdUtil { public static String uuid() { return UUID.randomUUID().toString().replaceAll("-", ""); } }