MrShi
2025-01-08 cfbf7533b8cfc395a110390da23cf6bb641daff9
server/system_service/src/main/java/com/doumee/core/utils/DateUtil.java
@@ -1968,13 +1968,13 @@
    }
    /**
     * 得到当前日期时间,格式为yyyy-MM-dd hh:mm:ss.
     * 得到当前日期时间,格式为yyyy-MM-dd HH:mm:ss.
     *
     * @return String
     */
    public static String getCurrDateTime() {
        Timestamp date = new Timestamp(System.currentTimeMillis());
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return formatter.format(date);
    }