Quellcode durchsuchen

Merge branch 'master' of 450099795/FragrantTown_Server_Local into master

slambb vor 3 Jahren
Ursprung
Commit
74ed581f99

+ 1 - 1
src/main/java/com/td/boss/game/complayercultivate/serivce/ComPlayerCultivateSerivceImpl.java

@@ -75,7 +75,7 @@ public class ComPlayerCultivateSerivceImpl implements ComPlayerCultivateSerivce
             return Result.of(null, false, ResultEnum.LAND_DATA_ERROR.getMessage(), ResultEnum.LAND_DATA_ERROR.getCode());
         }
         ComPlayerLand comPlayerLand = comPlayerLandService.findByUserIdAndLandId(userId, configLandId);
-        if (ArrayUtil.contains(CultivateKeys.mallType, comPlayerLand.getMallType()) == false) {
+        if (ArrayUtil.contains(CultivateKeys.mallType, comConfigLand.getMallType()) == false) {
             return Result.of(null, false, ResultEnum.LAND_DATA_ERROR.getMessage(), ResultEnum.LAND_DATA_ERROR.getCode());
         }
         String _redisKey = "LOCK:COM_PLAYER_CULTIVATE_LAND:" + userId;