资源:更新活动类型

This commit is contained in:
luying
2021-06-28 17:01:19 +08:00
parent d1a5a5cd21
commit 15ab14aeaf
4 changed files with 61 additions and 35 deletions

View File

@@ -2,9 +2,9 @@
* 多人邮件
*/
import MailTemp from './MailTemp';
import { index, getModelForClass, prop, DocumentType, Ref, mongoose } from '@typegoose/typegoose';
import { index, getModelForClass, prop, DocumentType } from '@typegoose/typegoose';
import { nowSeconds } from '../pubUtils/timeUtil';
import { MAIL_STATUS, MAIL_TYPE } from '../consts/constModules/mailConst';
import { MAIL_STATUS } from '../consts/constModules/mailConst';
import { findWhere } from 'underscore';
class RoleStatus {

View File

@@ -1,7 +1,7 @@
import MailTemp from './MailTemp';
import { index, getModelForClass, prop, DocumentType, Ref, mongoose } from '@typegoose/typegoose';
import { index, getModelForClass, prop, DocumentType } from '@typegoose/typegoose';
import { nowSeconds } from '../pubUtils/timeUtil';
import { MAIL_STATUS, MAIL_TYPE } from '../consts/constModules/mailConst';
import { MAIL_STATUS } from '../consts/constModules/mailConst';
@index({ roleId: 1 })

View File

@@ -1,9 +1,8 @@
import { GM_MAIL_TYPE, MAIL_TYPE, MAIL_STATUS, SEND_NAME } from "../../consts";
import { GM_MAIL_TYPE, MAIL_STATUS, SEND_NAME } from "../../consts";
import { ItemReward } from '../dbGeneral';
import { MailType } from "../../db/Mail";
import { GroupMailType } from "../../db/GroupMail";
import { ServerMailType } from '../../db/ServerMail';
import { GMMailType } from "../../db/GMMail";
import { gameData } from "../../pubUtils/data";
export class MailParam {

View File

@@ -2,7 +2,7 @@
{
"id": 1,
"activityType": 1,
"name": "DAILY_DISCOUNT_GIFT",
"name": " DAILY_DISCOUNT_GIFT",
"string": "七天乐活动"
},
{
@@ -27,7 +27,7 @@
"id": 5,
"activityType": 5,
"name": "SIGN_IN_VIP",
"string": "活动-高级签到RMB购买"
"string": "活动-高级RMB购买"
},
{
"id": 6,
@@ -128,7 +128,7 @@
{
"id": 22,
"activityType": 22,
"name": "DAY_PURCHASE",
"name": "DAILY_RMB_GIFTS",
"string": "活动-每日特惠礼包一次性购买7天礼包"
},
{
@@ -140,70 +140,97 @@
{
"id": 24,
"activityType": 24,
"name": "POP_GIFT",
"string": "弹出礼包"
"name": "POP_UP_SHOP",
"string": "弹出商店"
},
{
{
"id": 25,
"activityType": 25,
"name": "NEW_PLAYER_SIGN_IN",
"string": "新手签到活动"
},
{
{
"id": 26,
"activityType": 26,
"name": "VIP_RECHARGE_MONEY",
"string": "vip累计充值RMB活动"
},
{
{
"id": 27,
"activityType": 27,
"name": "SEVEN_DAY",
"string": "7天乐活动(每日特惠礼包,成长任务活动,今日挑战活动)"
"string": "天乐活动(每日特惠礼包,成长任务活动,今日挑战活动)"
},
{
{
"id": 28,
"activityType": 28,
"name": "FOURTEEN_DAY",
"string": "14天乐活动"
"string": "十四天乐活动"
},
{
{
"id": 29,
"activityType": 29,
"name": "COMMON_SEVEN_DAY",
"string": "通用七天乐活动"
},
{
{
"id": 30,
"activityType": 30,
"name": "DAILY_MEAL",
"string": "每日领取免费午饭、晚饭活动"
},
{
{
"id": 31,
"activityType": 31,
"name": "DAILY_COIN",
"string": "每日兑换铜钱"
},
{
"activityType": 32,
{
"id": 32,
"activityType": 32,
"name": "DAILY_GK",
"string": "每日关卡(每日开启一关)"
},
{
"activityType": 33,
},
{
"id": 33,
"activityType": 33,
"name": "REFRESH_SHOP",
"string": "通用的刷新商店分页可刷新限制购买次数支持rmb与资源兑换"
},
{
"activityType": 34,
},
{
"id": 34,
"activityType": 34,
"name": "REFRESH_TASK",
"string": "通用的刷新任务(分页,可刷新,限制领取次数)"
},
{
"activityType": 35,
},
{
"id": 35,
"activityType": 35,
"name": "MONOPOLY",
"string": "大富翁游戏"
},
{
"activityType": 36,
},
{
"id": 36,
"activityType": 36,
"name": "COMMON_SIGN_IN",
"string": "通用签到"
}
},
{
"id": 37,
"activityType": 37,
"name": "NEW_HERO_GIFTS",
"string": "新将好礼(很多红包,用积分兑换一遍结束)"
},
{
"id": 38,
"activityType": 38,
"name": "NEW_HERO_GK",
"string": "新将演绎 (配置N个武将每个武将有X个关卡活动期间*天(时间自定义)开启每个武将对应的一个关卡,只有第一次通关会获得奖励)"
},
{
"id": 39,
"activityType": 39,
"name": "NEW_HERO_GACHA",
"string": "新将擢迁(新武将抽取)"
}
]