设置时间

This commit is contained in:
mamengke01
2021-01-12 20:04:59 +08:00
parent 71659f8ce0
commit 073324b2ee
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ export async function init() {
}
let settleTime = (seasonEndTime - SETTLE_DIFF)* PER_SECOND;
seasonJobId = scheduleJob(settleTime, setPvpSeasonResult);
warJobId = scheduleJob("0 0 0 * * 1", resetPvpWarId);
warJobId = scheduleJob("0 0 0 * * 3", resetPvpWarId);
}
export async function setPvpSeasonResult(obj:{ name:string, notSetNext?: boolean }) {

View File

@@ -7,7 +7,7 @@ import path = require('path');
import { DicRandomEffectPool } from './dictionary/DicRandomEffectPool';
import { HERO_CE_RATIO, ABI_STAGE } from '../consts';
import { uniq, findWhere, findIndex } from 'underscore';
import { findIndex } from 'underscore';
const moment = require('moment');