活动:签到开启时间调整

This commit is contained in:
qiaoxin
2021-05-28 19:41:14 +08:00
parent 6adb33a41a
commit 1ba3675c30
3 changed files with 7 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ export class SignInHandler {
const serverId = session.get('serverId');
let todayIndex = moment(new Date()).date();
if (todayIndex < 5 || todayIndex > 24) {//未开启
if (todayIndex < SIGNIN_OPEN || todayIndex > SIGNIN_CLOSE) {//未开启
return resResult(STATUS.ACTIVITY_CLOSED);
}