pvp:添加PVP任务
This commit is contained in:
@@ -36,7 +36,7 @@ export default class UserTaskRec extends BaseModel {
|
||||
private static getRefreshCondition(type: number) {
|
||||
let today = getZeroPointD();
|
||||
|
||||
if(type == TASK_FUN_TYPE.DAILY) {
|
||||
if(type == TASK_FUN_TYPE.DAILY || type == TASK_FUN_TYPE.PVP) {
|
||||
return { type, createdAt: { $gte: today } };
|
||||
} else {
|
||||
return { type };
|
||||
|
||||
Reference in New Issue
Block a user