生成vue模板导出按钮点击后添加遮罩

This commit is contained in:
RuoYi
2021-05-24 11:34:03 +08:00
parent 504638eb41
commit 7e79c4f249
3 changed files with 69 additions and 32 deletions

View File

@ -5,13 +5,15 @@ package com.ruoyi.common.utils.uuid;
*
* @author ruoyi
*/
public class IdUtils {
public class IdUtils
{
/**
* 获取随机UUID
*
* @return 随机UUID
*/
public static String randomUUID() {
public static String randomUUID()
{
return UUID.randomUUID().toString();
}
@ -20,7 +22,8 @@ public class IdUtils {
*
* @return 简化的UUID去掉了横线
*/
public static String simpleUUID() {
public static String simpleUUID()
{
return UUID.randomUUID().toString(true);
}
@ -29,7 +32,8 @@ public class IdUtils {
*
* @return 随机UUID
*/
public static String fastUUID() {
public static String fastUUID()
{
return UUID.fastUUID().toString();
}
@ -38,7 +42,8 @@ public class IdUtils {
*
* @return 简化的UUID去掉了横线
*/
public static String fastSimpleUUID() {
public static String fastSimpleUUID()
{
return UUID.fastUUID().toString(true);
}
}