踢出公会
parent
6ebbd502df
commit
d32b041372
|
@ -112,7 +112,7 @@ public class GuildHelpHelpOtherRequestHandler extends BaseHandler<Family.GuildHe
|
|||
int serverId = AreaManager.getInstance().getServerIdByUid(targetUid, GameApplication.serverId);
|
||||
if (serverId != GameApplication.serverId) {
|
||||
String s = RedisUtil.getInstence().getGson().toJson(target);
|
||||
GuildLogic.getInstance().updateUserInfo(serverId, targetUid, s, GuildDef.UPDATE_YUANZHU);
|
||||
GuildLogic.updateUserInfo(serverId, targetUid, s, GuildDef.UPDATE_YUANZHU);
|
||||
}
|
||||
|
||||
GuildHelpLog guildHelpLog = new GuildHelpLog(uid, target.getId(), user.getPlayerInfoManager().getNickName(),
|
||||
|
|
|
@ -708,7 +708,7 @@ public class GuildLogic {
|
|||
int serverId = AreaManager.getInstance().getServerIdByUid(targetUid, GameApplication.serverId);
|
||||
if (serverId != GameApplication.serverId) {
|
||||
String s = RedisUtil.getInstence().getGson().toJson(targetUser);
|
||||
PlayerLogic.getInstance().updateUserInfo(serverId, targetUid, s, 2);
|
||||
updateUserInfo(serverId, targetUid, s, GuildDef.UPDATE_KICK_OUT);
|
||||
}
|
||||
|
||||
String title = SErrorCodeEerverConfig.getI18NMessage("family_kick_title");
|
||||
|
@ -1841,7 +1841,7 @@ public class GuildLogic {
|
|||
* @param type
|
||||
* @throws Exception
|
||||
*/
|
||||
public void updateUserInfo(int serverId, int uid, String userStr, int type) {
|
||||
public static void updateUserInfo(int serverId, int uid, String userStr, int type) {
|
||||
String rpcString = RedisUtil.getInstence().getObject(RedisKey.LOGIC_SERVER_INFO, Integer.toString(serverId), String.class, -1);
|
||||
if (rpcString == null) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue