Ver código fonte

fix : SDK后台

bilingfeng 1 ano atrás
pai
commit
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());
             game.setParentId(param.getParentGameId());
         }
         }
         super.saveOrUpdate(game);
         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) {
     private String getGameTags(List<Long> tagIdList) {