Bladeren bron

fix config

he2802 2 jaren geleden
bovenliggende
commit
cbce2925cb

+ 2 - 2
zhongzheng-system/src/main/java/com/zhongzheng/modules/system/service/impl/SysConfigServiceImpl.java

@@ -158,7 +158,7 @@ public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig
         if (row > 0) {
             redisCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue());
             if(config.getConfigKey().equals("home.mobile")){
-                JSONObject jsonObject = (JSONObject) JSONObject.parse(config.getConfigValue());
+                /*JSONObject jsonObject = (JSONObject) JSONObject.parse(config.getConfigValue());
                 String hostPc = jsonObject.getString("hostPc");
                 String hostH5 = jsonObject.getString("hostH5");
                 String hostLive = jsonObject.getString("hostLive");
@@ -168,7 +168,7 @@ public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig
                 objectLambdaUpdateWrapper.set(SysTenant::getHostH5, hostH5);
                 objectLambdaUpdateWrapper.set(SysTenant::getHostLive, hostLive);
                 objectLambdaUpdateWrapper.set(SysTenant::getUpdateTime, DateUtils.getNowTime());
-                iSysTenantService.update(null, objectLambdaUpdateWrapper);
+                iSysTenantService.update(null, objectLambdaUpdateWrapper);*/
             }
         }
         return row;