Revert "任务:登录任务"

This reverts commit 84304927c7.
This commit is contained in:
luying
2022-04-27 18:17:22 +08:00
parent 60a5b97874
commit 8e4d88067f
4 changed files with 13 additions and 22 deletions

View File

@@ -40,11 +40,11 @@ export async function checkTask(serverId: number, roleId: string, sid: string, t
await task.saveAndPush(sid);
}
export async function checkTaskInEntry(serverId: number, roleId: string, sid: string, role: RoleType, loginTime: number) {
export async function checkTaskInEntry(serverId: number, roleId: string, sid: string, role: RoleType) {
let task = new CheckTask(serverId, roleId);
task.setRole(role);
task.setParam(TASK_TYPE.LOGIN_SUM, { loginTime });
task.setParam(TASK_TYPE.LOGIN_SERIES, { loginTime });
task.setParam(TASK_TYPE.LOGIN_SUM, {});
task.setParam(TASK_TYPE.LOGIN_SERIES, {});
await task.saveAndPush(sid);
checkPopUpConditionInEntry(serverId, roleId, sid);
}