mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-09 04:49:02 +08:00
🔥 Removing code or files. 删除租户路由隔离
This commit is contained in:
1 parent
15d3fefbbe
commit
81696d9e60
1 file changed
+1
-1
+1
-1
@@ -73,7 +73,7 @@ public class DynamicRouteInitRunner {
|
||||
JSONArray predicateObj = JSONUtil.parseArray(route.getPredicates());
|
||||
vo.setPredicates(predicateObj.toList(PredicateDefinition.class));
|
||||
|
||||
log.info("加载租户 {},路由ID:{},{}", route.getTenantId(), route.getRouteId(), vo);
|
||||
log.info("加载路由ID:{},{}", route.getRouteId(), vo);
|
||||
redisTemplate.setHashValueSerializer(new Jackson2JsonRedisSerializer<>(RouteDefinitionVo.class));
|
||||
redisTemplate.opsForHash().put(CacheConstants.ROUTE_KEY, route.getRouteId(), vo);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user