diff --git a/tzipc-server/tzipc-system/src/main/java/com/inspur/system/service/impl/SysConfigServiceImpl.java b/tzipc-server/tzipc-system/src/main/java/com/inspur/system/service/impl/SysConfigServiceImpl.java index 74e60e8..78b8c46 100644 --- a/tzipc-server/tzipc-system/src/main/java/com/inspur/system/service/impl/SysConfigServiceImpl.java +++ b/tzipc-server/tzipc-system/src/main/java/com/inspur/system/service/impl/SysConfigServiceImpl.java @@ -116,10 +116,14 @@ public class SysConfigServiceImpl implements ISysConfigService */ @Override public Map selectSharedKeys(){ - Map returnMap = new HashMap<>(); - Map map = new HashMap<>(); + Map parameter = new HashMap<>(); + Map map = new HashMap<>(); map.put("time",Integer.parseInt(selectConfigByKey("shared.time"))); - returnMap.put("shared",map); + map.put("otaflag",selectConfigByKey("shared.otaflag")); + map.put("ver",selectConfigByKey("shared.ver")); + parameter.put("parameter",map); + Map returnMap = new HashMap<>(); + returnMap.put("shared",parameter); return returnMap; }