Skip to content

Guan-Meng-Yuan/spring-ex

Repository files navigation

Maven Central Apache Licence2

介绍

一个基于Spring的增强组件

如何使用

引入依赖

<dependencies>
    <dependency>
        <groupId>com.guanmengyuan</groupId>
        <artifactId>spring-ex-dependencies</artifactId>
        <version>${maven-release}</version>
        <scope>import</scope>
        <type>pom</type>
    </dependency>
</dependencies>

组件说明

spring-boot-starter-web: 官方spring-boot-starter-webmvc的增强版本

<dependency>
    <groupId>com.guanmengyuan.spring-ex</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>
  • 全局异常拦截
  • 全局响应

spring-boot-starter-mybatis-flex: mybatis-flex的增强自动配置组件

<dependency>
    <groupId>com.guanmengyuan.spring-ex</groupId>
    <artifactId>spring-boot-starter-mybatis-flex</artifactId>
</dependency>

spring-boot-starter-wx-mini-app: 微信小程序开发组件增强工具,支持小程序多配置

<dependency>
    <groupId>com.guanmengyuan.spring-ex</groupId>
    <artifactId>spring-boot-starter-wx-mini-app</artifactId>
</dependency>

spring-boot-starter-wx-pay: 微信支付开发组件增强工具,支持支付多配置

<dependency>
    <groupId>com.guanmengyuan.spring-ex</groupId>
    <artifactId>spring-boot-starter-wx-pay</artifactId>
</dependency>

spring-boot-starter-alipay: 支付宝开发组件增强工具,支持多配置

<dependency>
    <groupId>com.guanmengyuan.spring-ex</groupId>
    <artifactId>spring-boot-starter-alipay</artifactId>
</dependency>

spring-cloud-starter-auth: SpringCloud认证自动配置组件

<dependency>
    <groupId>com.guanmengyuan.spring-ex</groupId>
    <artifactId>spring-cloud-starter-auth</artifactId>
</dependency>

spring-ex-common-model: 通用模型包,内置全局响应和接口

<dependency>
    <groupId>com.guanmengyuan.spring-ex</groupId>
    <artifactId>spring-ex-common-model</artifactId>
</dependency>
*[BaseDomain](./spring-ex-common-model/src/main/java/com/guanmengyuan/spring/ex/common/model/domain/BaseDomain.java)
**: 通用父类
*[TenantDomain](./spring-ex-common-model/src/main/java/com/guanmengyuan/spring/ex/common/model/domain/TenantDomain.java)
**: 租户模式下的通用父类
  • **ParamEnum **: 通用参数枚举接口,实现该接口可将任意类型的enum作为参数传递

spring-boot-starter-oss: AWS s3协议存储通用组件

<dependency>
    <groupId>com.guanmengyuan.spring-ex</groupId>
    <artifactId>spring-boot-starter-oss</artifactId>
</dependency>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages