|
|
@@ -171,7 +171,7 @@ public class IntegralShareService extends BaseService<IntegralShare> {
|
|
|
}else{
|
|
|
// 获取当前日期时间
|
|
|
LocalDateTime currentDateTime = LocalDateTime.now(); // 设置时间为23点59分
|
|
|
- LocalDateTime time2359 = currentDateTime.withHour(23).withMinute(59);
|
|
|
+ LocalDateTime time2359 = currentDateTime.withHour(23).withMinute(59).withSecond(59);
|
|
|
// 格式化时间为指定格式
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
|
|
String formattedDateTime = time2359.format(formatter);
|