Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
datav_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖旭伟
datav_platform
Commits
f8f74cf9
Commit
f8f74cf9
authored
Jun 20, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加操作日志发送到管理平台
parent
e3de4e32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
common-lib/src/main/java/com/mortals/xhx/system/MessageProducer.java
...src/main/java/com/mortals/xhx/system/MessageProducer.java
+1
-0
datav-manager/src/main/java/com/mortals/xhx/base/framework/aspect/WebLogAspect.java
...a/com/mortals/xhx/base/framework/aspect/WebLogAspect.java
+2
-2
No files found.
common-lib/src/main/java/com/mortals/xhx/system/MessageProducer.java
View file @
f8f74cf9
...
@@ -41,6 +41,7 @@ public class MessageProducer implements IMessageProduceService {
...
@@ -41,6 +41,7 @@ public class MessageProducer implements IMessageProduceService {
@Override
@Override
public
void
syncOperSend
(
OperateLogPdu
operLogPdu
)
{
public
void
syncOperSend
(
OperateLogPdu
operLogPdu
)
{
log
.
info
(
JSON
.
toJSONString
(
operLogPdu
));
rabbitTemplate
.
convertAndSend
(
QueueKey
.
EXCHANGE
,
QueueKey
.
OPERATION_LOG_QUEUE
,
JSON
.
toJSONString
(
operLogPdu
));
rabbitTemplate
.
convertAndSend
(
QueueKey
.
EXCHANGE
,
QueueKey
.
OPERATION_LOG_QUEUE
,
JSON
.
toJSONString
(
operLogPdu
));
}
}
...
...
datav-manager/src/main/java/com/mortals/xhx/base/framework/aspect/WebLogAspect.java
View file @
f8f74cf9
...
@@ -27,8 +27,8 @@ import java.util.Map;
...
@@ -27,8 +27,8 @@ import java.util.Map;
* @author: zxfei
* @author: zxfei
* @date: 2022/4/20 9:24
* @date: 2022/4/20 9:24
*/
*/
@Aspect
//
@Aspect
@Component
//
@Component
@Slf4j
@Slf4j
@Order
(
1
)
@Order
(
1
)
@Profile
({
"default"
,
"develop"
,
"test"
})
@Profile
({
"default"
,
"develop"
,
"test"
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment