master_ob2
parent
61c38929f0
commit
5eb5ae4679
|
|
@ -239,8 +239,8 @@ public class MinuteTask extends Thread {
|
|||
for(Map.Entry<Integer,GuildInfo> guildInfoEntry:guildInfoMap.entrySet()){
|
||||
try {
|
||||
// 公会红包排行处理
|
||||
RedisUtil.getInstence().del(RedisKey.getKey(RedisKey.GUILD_RED_PACKAGE_RANK,String.valueOf(guildInfoEntry.getKey()),false));
|
||||
LOGGER.info("{}更新公会红包完毕",guildInfoEntry.getValue().getName());
|
||||
// RedisUtil.getInstence().del(RedisKey.getKey(RedisKey.GUILD_RED_PACKAGE_RANK,String.valueOf(guildInfoEntry.getKey()),false));
|
||||
// LOGGER.info("{}更新公会红包完毕",guildInfoEntry.getValue().getName());
|
||||
// 公会祭祀处理
|
||||
guildInfoEntry.getValue().reSetFete();
|
||||
LOGGER.info("{}更新公会祭祀完毕",guildInfoEntry.getValue().getName());
|
||||
|
|
|
|||
|
|
@ -0,0 +1,45 @@
|
|||
package config;
|
||||
|
||||
import manager.STableManager;
|
||||
import manager.Table;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Table(name ="ExpeditionDaily")
|
||||
public class SExpeditionDaily implements BaseConfig {
|
||||
|
||||
private int id;
|
||||
|
||||
private int daily;
|
||||
|
||||
private int[][] holyProbability;
|
||||
|
||||
private int[][] dailyReward;
|
||||
|
||||
public static Map<Integer, SExpeditionDaily> map = new HashMap<>();
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
map = STableManager.getConfig(SExpeditionDaily.class);
|
||||
}
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public int getDaily() {
|
||||
return daily;
|
||||
}
|
||||
|
||||
public int[][] getHolyProbability() {
|
||||
return holyProbability;
|
||||
}
|
||||
|
||||
public int[][] getDailyReward() {
|
||||
return dailyReward;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue