String orderNum = UUID.randomUUID().toString().replaceAll("-", ""); 转载于:https://www.cnblogs.com/caimuqing/p/6759252.html