peng
2026-03-18 e59a0201057ba67cad425fed804c82ff4ba0c6f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.tievd.cube.modules.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.databind.JsonNode;
import com.tievd.cube.modules.system.entity.SysGatewayRoute;
 
/**
 * Gateway路由管理
 *
 * @author 杨欣武
 * @version 2.4.0
 * @since 2022-05-07
 */
public interface ISysGatewayRouteService extends IService<SysGatewayRoute> {
 
    /**
     * 添加所有的路由信息到redis
     */
    void addRoute2Redis(String key);
 
    /**
     * 删除路由
     */
    void deleteById(String id);
 
    /**
     * 保存路由配置
     */
    void updateAll(JsonNode array);
 
    /**
     * 清空redis中的route信息
     */
    void clearRedis();
}