Browse Source

Merge branch 'package' of GameCenter/game-center into dev

zhimo 1 năm trước cách đây
mục cha
commit
8ce95d9a1f

+ 5 - 1
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/service/impl/GameServiceImpl.java

@@ -98,7 +98,11 @@ public class GameServiceImpl extends ServiceImpl<GameMapper, Game> implements IG
             game.setParentId(param.getParentGameId());
         }
         super.saveOrUpdate(game);
-        return gameAppletService.addOrUpdate(game, param.getGameAppletConfigDTO());
+        //添加游戏应用信息
+        if (param.getGameAppletConfigDTO() != null) {
+            gameAppletService.addOrUpdate(game, param.getGameAppletConfigDTO());
+        }
+        return Boolean.TRUE;
     }
 
     private String getGameTags(List<Long> tagIdList) {