CommUtil 放到 util模块 ,增加 status http 接口
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user