测试:添加任务测试用例

This commit is contained in:
luying
2021-04-29 21:13:23 +08:00
parent 8b07ef352e
commit 880331863f
5 changed files with 150 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ export class TaskParam {
title?: number;
job?: number;
aid?: number;
isDebug?: boolean;
}
export class TaskListReturn {

View File

@@ -423,6 +423,9 @@ export async function checkTaskRec(roleId: string, type: number, group: number,
break;
}
console.log('****isMatch', isMatch, checkHistory, type, taskType, group, count)
if(param.isDebug) {
isMatch = true;
}
if (isMatch) {
if (isInc) {