- 场景一: Spring Boot + Web 环境下安装
引入如下包即可:
<dependency>
<groupId>io.github.bes2008.solution.audit</groupId>
<artifactId>audit-spring-boot-starter</artifactId>
<version>${audit.version}</version>
</dependency>
- 场景二: Spring Web 环境下安装
引入如下包即可:
<dependency>
<groupId>io.github.bes2008.solution.audit</groupId>
<artifactId>audit-spring</artifactId>
<version>${audit.version}</version>
</dependency>
- 场景三: 普通的Java Web应用下安装
引入如下包即可:
<dependency>
<groupId>io.github.bes2008.solution.audit</groupId>
<artifactId>audit-servlet</artifactId>
<version>${audit.version}</version>
</dependency>
- 场景四:非web环境
引入如下包即可:
<dependency>
<groupId>io.github.bes2008.solution.audit</groupId>
<artifactId>audit-core</artifactId>
<version>${audit.version}</version>
</dependency>