Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -9,4 +9,5 @@ public class CallNumPrintDTO {
|
||||
|
||||
private Long currentUserId;
|
||||
private String currentUserName;
|
||||
private String currentUserNickName;
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@ public class RabbitMsgUtils implements RabbitTemplate.ConfirmCallback {
|
||||
try {
|
||||
printDTO.setCurrentUserId(SecurityUtils.getCurrentUserId());
|
||||
printDTO.setCurrentUserName(SecurityUtils.getCurrentUsername());
|
||||
printDTO.setCurrentUserNickName(SecurityUtils.getCurrentUserNickName());
|
||||
}catch (Exception e){
|
||||
log.error("获取当前用户信息失败", e);
|
||||
}
|
||||
@@ -102,6 +103,7 @@ public class RabbitMsgUtils implements RabbitTemplate.ConfirmCallback {
|
||||
try {
|
||||
jsonObject.put("currentUserId", SecurityUtils.getCurrentUserId());
|
||||
jsonObject.put("currentUserName", SecurityUtils.getCurrentUsername());
|
||||
jsonObject.put("currentUserNickName", SecurityUtils.getCurrentUserNickName());
|
||||
}catch (Exception e){
|
||||
log.error("获取当前用户信息失败", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user