测试:修改任务好友军团活动
This commit is contained in:
@@ -23,6 +23,7 @@ import { resResult } from "../../pubUtils/util";
|
||||
import { getActivities, getActivitiesByType, getActivityByServerId } from "../activity/activityService";
|
||||
import { getRoleCreateTime, getRoleOnlineInfo, getServerCreateTime } from "../redisService";
|
||||
import { getEquipById, getJewelByEquip, isRandSeUnLock } from "../equipService";
|
||||
import { debug } from "console";
|
||||
|
||||
export class CheckTask {
|
||||
serverId: number; // 区id
|
||||
@@ -339,6 +340,11 @@ export class CheckSingleTask {
|
||||
public async checkIsMatch(dicTaskParam: number[], getRecord: () => Promise<string[]>) {
|
||||
let param = this.param;
|
||||
let result: UpdateTaskParam = null;
|
||||
|
||||
if(this.param.debugInfo) {
|
||||
return { set: this.param.debugInfo.condition }
|
||||
}
|
||||
|
||||
switch(this.taskType) {
|
||||
case TASK_TYPE.LOGIN_SUM: // 1. 累计登录 x 天
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user