From 5dc40fcd64b0513150f1d8335ab849e6d8cdc28e Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 04 七月 2025 19:42:49 +0800
Subject: [PATCH] 支付版本更新 根据资金流向使用V2或V3服务商版本支付
---
cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java b/cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java
index f0902d0..46dcb6c 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java
@@ -14,7 +14,7 @@
}
/**
- * 获取两个时间的间隔(秒)Obtain the time difference between two instances (in seconds).
+ * 获取两个时间的间隔(秒)Obtain the time difference between two instances (in seconds).
*
* @param startDate 开始的时间
* @return 返回当前时间与开始时间的相差天数
@@ -24,7 +24,7 @@
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
long startDateTime = dateFormat.parse(dateFormat.format(startDate)).getTime();
long endDateTime = dateFormat.parse(dateFormat.format(endDate)).getTime();
- int days = (int)((endDateTime - startDateTime) / (1000 * 3600 * 24));
+ int days = (int) ((endDateTime - startDateTime) / (1000 * 3600 * 24));
return days;
}
--
Gitblit v1.7.1