bilingfeng 1 год назад
Родитель
Сommit
e6e51dd9a3

+ 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) {