v1.0 : 深海活动

This commit is contained in:
fbc
2022-10-11 18:31:12 +08:00
parent 97768c0b8b
commit 61fb414535
15 changed files with 605 additions and 197 deletions

View File

@@ -35,6 +35,8 @@ public class WebSecurityConfig {
private String seekElfinEnterpriseWechatPushKey;
// 线性奖池提醒企业微信机器人key
private String linearylyPoolEnterpriseWechatPushKey;
// 深海活动预警机器人key
private String luckySeaPreWarningRobotKey;
public void setJwtWebKey(String jwtWebKey) {
WebSecurityConfig.jwtWebKey = jwtWebKey;
@@ -47,4 +49,8 @@ public class WebSecurityConfig {
public void setRsaWebPrivateKey(String rsaWebPrivateKey) {
WebSecurityConfig.rsaWebPrivateKey = rsaWebPrivateKey;
}
public void setLuckySeaPreWarningRobotKey(String luckySeaPreWarningRobotKey) {
this.luckySeaPreWarningRobotKey = luckySeaPreWarningRobotKey;
}
}

View File

@@ -1745,6 +1745,11 @@ public class Constant {
public static final String ACT_MAGIC_SCHOOL_AWARD_CONFIG = "act_magic_school_award_config";
public static final String GOOGLE_PAY_LIMIT_CONFIG = "google_pay_limit_config";
/**
* 深海活动预警配置
*/
public static final String LUCKY_SEA_PREWARNING_CONFIG = "lucky_sea_prewarning_config";
}
public static class ActiveMq {
@@ -2502,6 +2507,8 @@ public class Constant {
public static final String HEADWEAR_GOLD = "buss_headwear_gold"; // 购买头饰扣减金币
public static final String LUCKY_SEA_DRAW = "lucky_sea_draw";// 春日游园抽奖
}
public static class MonsterStatus {

View File

@@ -1106,6 +1106,7 @@ public enum RedisKey {
LOCK_LUCKY_SEA_USER_DRAW,
/** 深海奇缘活动当前轮正在进行抽奖的用户数 **/
lucky_sea_curr_write_data_user_count,
lucky_sea_run_task,
/** 许愿集福气 **/
activity_fortune,
/** 许愿集福气保存数据锁 **/

View File

@@ -138,6 +138,9 @@ public enum BillObjTypeEnum {
SHIP_ANTICS_PACK((byte) 82, "航海冒险礼包支出", BillTypeEnum.OUT, CurrencyEnum.DIAMOND),
ACTIVITY_LUCKY_SEA_DRAW((byte) 83, "深海活动抽奖", BillTypeEnum.OUT, CurrencyEnum.DIAMOND),
ACTIVITY_LUCKY_SEA_DIAMOND_IN((byte) 84, "深海活动奖励", BillTypeEnum.IN, CurrencyEnum.DIAMOND),
;
BillObjTypeEnum(byte value, String desc, BillTypeEnum type, CurrencyEnum currency) {
this.value = value;