删除无用字段
parent
cdf7a2ba30
commit
0d461892e4
|
@ -13,8 +13,6 @@ public class GuildMyInfo extends MongoBase {
|
||||||
private List<Integer> path = new ArrayList<>(); //行走路线
|
private List<Integer> path = new ArrayList<>(); //行走路线
|
||||||
private int curPos=STableManager.getFigureConfig(CommonStaticConfig.class).getInitPos();//当前位置
|
private int curPos=STableManager.getFigureConfig(CommonStaticConfig.class).getInitPos();//当前位置
|
||||||
private long preMoveTimestamp; //上次更新时间
|
private long preMoveTimestamp; //上次更新时间
|
||||||
private long joinTime;
|
|
||||||
|
|
||||||
public void clearOfLevelGuild(){
|
public void clearOfLevelGuild(){
|
||||||
path.clear();
|
path.clear();
|
||||||
curPos = STableManager.getFigureConfig(CommonStaticConfig.class).getInitPos();
|
curPos = STableManager.getFigureConfig(CommonStaticConfig.class).getInitPos();
|
||||||
|
@ -87,13 +85,4 @@ public class GuildMyInfo extends MongoBase {
|
||||||
public long getPreMoveTimestamp() {
|
public long getPreMoveTimestamp() {
|
||||||
return preMoveTimestamp;
|
return preMoveTimestamp;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getJoinTime() {
|
|
||||||
return joinTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setJoinTime(long joinTime) {
|
|
||||||
this.joinTime = joinTime;
|
|
||||||
updateString("joinTime",joinTime);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -505,7 +505,6 @@ public class GuildLogic {
|
||||||
cache.setGuildPosition(GlobalsDef.MEMBER);
|
cache.setGuildPosition(GlobalsDef.MEMBER);
|
||||||
RedisUtil.getInstence().putMapEntry(RedisKey.PLAYER_INFO_CACHE,"",String.valueOf(applyId),cache);
|
RedisUtil.getInstence().putMapEntry(RedisKey.PLAYER_INFO_CACHE,"",String.valueOf(applyId),cache);
|
||||||
targetUser.getUserMissionManager().onGameEvent(targetUser, GameEvent.JOIN_FAMILY);
|
targetUser.getUserMissionManager().onGameEvent(targetUser, GameEvent.JOIN_FAMILY);
|
||||||
targetUser.getGuildMyInfo().setJoinTime(TimeUtils.now());
|
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
LOGGER.error("the exception={}",e);
|
LOGGER.error("the exception={}",e);
|
||||||
}finally {
|
}finally {
|
||||||
|
|
Loading…
Reference in New Issue