测试:添加战斗测试
This commit is contained in:
@@ -256,6 +256,8 @@ export class ShopHandler {
|
||||
} else if (type == TASK_FUN_TYPE.ACHIEVEMENT) {
|
||||
await UserTaskModel.updateInfo(roleId, { achievementBox: [], achievementPoint: 0 });
|
||||
userTask = await removeHistoryTask(roleId, type, new Date(nowSeconds() * 1000 + 86400000));
|
||||
} else if (type == TASK_FUN_TYPE.PVP) {
|
||||
userTask = await removeHistoryTask(roleId, type, new Date(nowSeconds() * 1000 + 86400000));
|
||||
}
|
||||
|
||||
let curTask = await getCurTask(roleId, session);;
|
||||
|
||||
Reference in New Issue
Block a user