|
@@ -333,6 +333,9 @@ public class GameServiceImpl extends ServiceImpl<GameMapper, Game> implements Ga
|
|
.category(param.getCategory())
|
|
.category(param.getCategory())
|
|
.classify(map.get("classify"))
|
|
.classify(map.get("classify"))
|
|
.classifyParent(map.get("classifyParent"))
|
|
.classifyParent(map.get("classifyParent"))
|
|
|
|
+ .cpPaybackUrl(param.getCpPaybackUrl())
|
|
|
|
+ .gameUrl(param.getGameUrl())
|
|
|
|
+ .status(1)
|
|
.createTime(LocalDateTime.now())
|
|
.createTime(LocalDateTime.now())
|
|
.updateTime(LocalDateTime.now())
|
|
.updateTime(LocalDateTime.now())
|
|
.build();
|
|
.build();
|
|
@@ -344,6 +347,8 @@ public class GameServiceImpl extends ServiceImpl<GameMapper, Game> implements Ga
|
|
game.setClassify(map.get("classify"));
|
|
game.setClassify(map.get("classify"));
|
|
game.setClassifyParent(map.get("classifyParent"));
|
|
game.setClassifyParent(map.get("classifyParent"));
|
|
game.setUpdateTime(LocalDateTime.now());
|
|
game.setUpdateTime(LocalDateTime.now());
|
|
|
|
+ game.setCpPaybackUrl(param.getCpPaybackUrl());
|
|
|
|
+ game.setGameUrl(param.getGameUrl());
|
|
}
|
|
}
|
|
//设置父游戏id
|
|
//设置父游戏id
|
|
if (!Objects.equals(param.getIsParentGame(), Boolean.TRUE) && param.getParentGameId() != null) {
|
|
if (!Objects.equals(param.getIsParentGame(), Boolean.TRUE) && param.getParentGameId() != null) {
|