修改 提现时间判断

This commit is contained in:
GYJ
2025-01-09 12:40:21 +08:00
parent 1d7ac18cb8
commit abc8e53a0e

View File

@@ -98,7 +98,7 @@ public class AppCashController {
Calendar calendar = Calendar.getInstance();
int hour = calendar.get(Calendar.HOUR_OF_DAY);
if (hour >= 8 && hour <= 18) {
if (hour < 8 || hour > 18) {
return Result.error("提现时间为每天8:00-18:00");
}