CommUtil 放到 util模块 ,增加 status http 接口

This commit is contained in:
2025-02-14 17:07:53 +08:00
parent e87eab5460
commit 9d034fb303
3 changed files with 50 additions and 4 deletions

View File

@@ -0,0 +1,24 @@
package com.fibo.ddp.common.utils.util;
public class CommUtil {
private static final String VERSION = "2025-02-14 17:00";
public static String getVersion(){
return VERSION;
}
public static void doSleep(long time){
if(time<=0){
return;
}
try{
Thread.sleep(time);
}catch(Throwable e){
// do nothing
}
}
}