活动:签到开启时间调整
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user