Skip to content

Commit

Permalink
🐛 #2251 【企业微信】 修复获取打卡数据时间检查不正确的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
longliveh committed Aug 10, 2021
1 parent 16d98a6 commit 72f3005
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public List<WxCpCheckinData> getCheckinData(Integer openCheckinDataType, @NonNul
long endTimestamp = endTime.getTime() / 1000L;
long startTimestamp = startTime.getTime() / 1000L;

if (endTimestamp - startTimestamp < 0 || endTimestamp - startTimestamp >= MONTH_SECONDS * 1000L) {
if (endTimestamp - startTimestamp < 0 || endTimestamp - startTimestamp >= MONTH_SECONDS) {
throw new WxRuntimeException("获取记录时间跨度不超过一个月");
}

Expand Down

0 comments on commit 72f3005

Please sign in to comment.