he2802 преди 2 години
родител
ревизия
cbce2925cb
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      zhongzheng-system/src/main/java/com/zhongzheng/modules/system/service/impl/SysConfigServiceImpl.java

+ 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;