gm无尽商店
parent
e0aaca6306
commit
ffd91d6adb
|
@ -122,7 +122,7 @@ public class GmService implements RPCRequestGMIFace.Iface {
|
|||
sendIds.add(session.getUid());
|
||||
}
|
||||
} else {
|
||||
if(cmd.contains("hotfix") || cmd.contains("shop")){
|
||||
if(cmd.contains("hotfix") || cmd.contains("shop")|| cmd.contains("endStore")){
|
||||
List<User> usersInDB = MongoUtil.getLjsdMongoTemplate().findAll("user", User.class);
|
||||
for(User user1 : usersInDB){
|
||||
User userInMem = UserManager.getUserInMem(user1.getId());
|
||||
|
|
|
@ -2,10 +2,8 @@ package com.ljsd.jieling.kefu;
|
|||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.ljsd.jieling.config.SErrorCodeEerverConfig;
|
||||
import com.ljsd.jieling.config.SGameSetting;
|
||||
import com.ljsd.jieling.config.SGlobalActivity;
|
||||
import com.ljsd.jieling.config.SRechargeCommodityConfig;
|
||||
import com.ljsd.jieling.config.*;
|
||||
import com.ljsd.jieling.core.FunctionIdEnum;
|
||||
import com.ljsd.jieling.dataReport.reportBeans_37.ChatContentType;
|
||||
import com.ljsd.jieling.dataReport.reportBeans_37.Repot37EventUtil;
|
||||
import com.ljsd.jieling.db.mongo.MongoUtil;
|
||||
|
@ -13,6 +11,7 @@ import com.ljsd.jieling.db.redis.RedisKey;
|
|||
import com.ljsd.jieling.db.redis.RedisUtil;
|
||||
import com.ljsd.jieling.globals.BIReason;
|
||||
import com.ljsd.jieling.globals.Global;
|
||||
import com.ljsd.jieling.logic.GlobalDataManaager;
|
||||
import com.ljsd.jieling.logic.OnlineUserManager;
|
||||
import com.ljsd.jieling.logic.activity.ActivityLogic;
|
||||
import com.ljsd.jieling.logic.activity.ActivityType;
|
||||
|
@ -87,9 +86,14 @@ public class Cmd_changename extends GmRoleAbstract {
|
|||
LOGGER.info("hotfix user={} store end",user.getId());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if("endStore".equals(args[2])){
|
||||
if(!user.getStoreManager().getStoreInfoMap().containsKey(13)){
|
||||
TimeControllerOfFunction openTimeOfFuntionCacheByType = GlobalDataManaager.getInstance().getOpenTimeOfFuntionCacheByType(FunctionIdEnum.Endless);
|
||||
StoreLogic.initOnsStoereWithTime(user, 13,openTimeOfFuntionCacheByType.getStartTime(),openTimeOfFuntionCacheByType.getEndTime());
|
||||
}
|
||||
}
|
||||
if("recharge".equals(args[2])){
|
||||
Gson gson = new Gson();
|
||||
Map<String,String> rechargeInfoMap = new HashMap<>();
|
||||
|
|
Loading…
Reference in New Issue