测试:修改任务好友军团活动

This commit is contained in:
luying
2022-04-06 12:39:54 +08:00
parent 4397b03bdf
commit 126c51b4dd
9 changed files with 18 additions and 35 deletions

View File

@@ -221,6 +221,7 @@ export class ShopHandler {
async debugCompleteRandTask(msg: { type: number }, session: BackendSession) {
const roleId: string = session.get('roleId');
const sid: string = session.get('sid');
const serverId: number = session.get('serverId');
const { type } = msg
let tasks: (DicMainTask | DicDailyTask | DicAchievement)[] = [];
@@ -228,7 +229,7 @@ export class ShopHandler {
tasks.push(task);
}
let task = getRandSingleEelm(tasks);
// await checkTask(roleId, sid, task.taskType, task.condition, false, { isDebug: true });
await checkTask(serverId, roleId, sid, task.taskType, { debugInfo: {condition: task.condition} });
return resResult(STATUS.SUCCESS, {
task
});