【7.6.0】更新日志模块的依赖

pull/57/head
fengshuonan 2023-06-17 21:53:33 +08:00
parent 0247dd5539
commit 1c54aee9ca
2 changed files with 5 additions and 15 deletions

View File

@ -17,14 +17,12 @@
<dependencies>
<!--auth模块的api-->
<!--记录日志时候有可能需要记录当前登录用户id-->
<!--如果不要记录当前登录用户id时就不用本模块所以optional=true-->
<!--sys系统模块-->
<!--用来获取userId的包装转化-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>auth-api</artifactId>
<artifactId>sys-api</artifactId>
<version>${roses.version}</version>
<optional>true</optional>
</dependency>
<!--参数校验模块-->
@ -43,14 +41,6 @@
<version>${roses.version}</version>
</dependency>
<!--system api-->
<!--用在json响应用户id的转化-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>system-api</artifactId>
<version>${roses.version}</version>
</dependency>
<!--web-->
<!--LogRecordFactory快速创建http类的日志参数会用到-->
<!--如果不要记录当前请求的http接口信息就不用本模块所以optional=true-->

View File

@ -26,7 +26,7 @@ package cn.stylefeng.roses.kernel.log.api.pojo.record;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
import cn.stylefeng.roses.kernel.system.api.format.UserFormatProcess;
import cn.stylefeng.roses.kernel.sys.api.format.UserNameFormatProcess;
import lombok.Data;
import java.util.Date;
@ -102,7 +102,7 @@ public class LogRecordDTO {
* http
*/
@ChineseDescription("客户端请求的用户id")
@SimpleFieldFormat(processClass = UserFormatProcess.class)
@SimpleFieldFormat(processClass = UserNameFormatProcess.class)
private Long userId;
/**