七天乐-每日特惠礼包

This commit is contained in:
qiaoxin
2021-04-26 17:25:44 +08:00
parent 4d5db3b851
commit 8c1be43b87
11 changed files with 298 additions and 11 deletions
@@ -8,4 +8,13 @@ export enum ACTIVITY_TYPE {
SEVEN_DAYS = 1, // 七天乐活动
TASK_GROWTH = 2, // 成长任务活动
TASK_DAILY_CHALLENGES = 3, // 今日挑战活动
}
/**
* 活动资源类型(消耗品、奖励内容)
*/
export enum ACTIVITY_RESOURCES_TYPE {
HERO = 1, // 英雄表
GOODS = 2, // 物品表
RMB = 3, // RMB
}
+1
View File
@@ -1,4 +1,5 @@
export * from './constModules/abilityConst';
export * from './constModules/activityConst';
export * from './constModules/battleConst';
export * from './constModules/calcuConst';
export * from './constModules/heroConst';
+4 -1
View File
@@ -338,7 +338,10 @@ export const STATUS = {
ACTIVITY_TASK_UNCOMPLETED: { code: 50002, simStr: '任务还未完成' },
ACTIVITY_NO_POINT: { code: 50003, simStr: '奖章不足' },
ACTIVITY_REWARDED: { code: 50004, simStr: '已经领取过' },
ACTIVITY_TIME_ERROR: { code: 50004, simStr: '时间错误' },
ACTIVITY_TIME_ERROR: { code: 50005, simStr: '时间错误' },
ACTIVITY_MAX_COUNT: { code: 50006, simStr: '已经到最大次数' },
ACTIVITY_UNOPENED: { code: 50007, simStr: '还未开启,不能购买' },
ACTIVITY_RES_NOT_ENOUGH: { code: 50008, simStr: '资源不足' },
// GM后台相关状态 60000 - 69999
GM_ERR_PASSWORD: { code: 60001, simStr: '账号或密码错误' },
GM_MISS_API: { code: 60002, simStr: '未找到该接口' },