Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 【企业微信】 修复获取打卡数据时间检查不正确bug #2251

Merged
merged 11 commits into from
Aug 10, 2021
Merged
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