# 组件扩展

# redis扩展

序列化改为fastjson2,增加整体key前缀(用于跨中心同步,识别key来源)

<dependency>
    <groupId>cn.techhawk</groupId>
    <artifactId>framework-components-redis</artifactId>
    <version>${version}</version>
</dependency>

# Mybatis扩展

  • 增加权限自动转换Handler
  • 增加动态SqlMapper管理
  • 对接开发插件,实现插件Spi 使用方式:
<dependency>
    <groupId>cn.techhawk</groupId>
    <artifactId>framework-components-mybatis</artifactId>
    <version>${version}</version>
</dependency>

# xxljob 扩展

增加切面,设置上下文traceid和当前操作用户

<dependency>
    <groupId>cn.techhawk</groupId>
    <artifactId>framework-components-xxljob</artifactId>
    <version>${version}</version>
</dependency>

# dubbo扩展

  • 增加公共参数setterFilter和上下文Clear
  • 增加手动调用dubbo服务的方式
  • 增加ServiceInstanceNotificationCustomizer避免rest *路径报错
<dependency>
    <groupId>cn.techhawk</groupId>
    <artifactId>framework-components-dubbo</artifactId>
    <version>${version}</version>
</dependency>