【8.0】【log】初始化业务日志模块

pull/57/head
fengshuonan 2023-07-21 13:58:05 +08:00
parent 8aa0f33bf3
commit f4322ad428
4 changed files with 64 additions and 3 deletions

View File

@ -1,3 +1 @@
日志业务模块包含对每个api接口的日志记录
对控制器层接口的aop操作
API请求的日志记录

View File

@ -0,0 +1,3 @@
# 业务日志模块
记录业务的运行时日志

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-log</artifactId>
<version>8.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>log-business</artifactId>
<packaging>jar</packaging>
<dependencies>
<!--日志api模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>log-api</artifactId>
<version>${roses.version}</version>
</dependency>
<!--资源api模块-->
<!--aop获取注解属性-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>scanner-api</artifactId>
<version>${roses.version}</version>
</dependency>
<!--auth模块-->
<!--获取当前登录用户-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>auth-api</artifactId>
<version>${roses.version}</version>
</dependency>
<!-- web -->
<!-- 用于本模块中对controller的拦截器 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- aop -->
<!-- 用于本模块中对controller的拦截器 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -17,6 +17,7 @@
<modules>
<module>log-api</module>
<module>log-business</module>
<module>log-business-login-log</module>
<module>log-business-requestapi</module>
<module>log-spring-boot-starter</module>