mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-11-01 00:46:54 +08:00 
			
		
		
		
	🐛 #2251 【企业微信】 修复获取打卡数据时间检查不正确的问题
This commit is contained in:
		| @@ -49,7 +49,7 @@ public class WxCpOaServiceImpl implements WxCpOaService { | ||||
|     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("获取记录时间跨度不超过一个月"); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 longliveh
					longliveh