Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
log-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
赵啸非
log-platform
Commits
00478066
Commit
00478066
authored
Jan 09, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改vue为内网环境
parent
33296c85
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
log-manager/src/main/java/com/mortals/xhx/module/access/web/AccessLogController.java
...om/mortals/xhx/module/access/web/AccessLogController.java
+5
-2
log-manager/src/main/java/com/mortals/xhx/module/biz/web/BizLogController.java
...java/com/mortals/xhx/module/biz/web/BizLogController.java
+3
-3
log-manager/src/main/java/com/mortals/xhx/module/error/web/ErrorLogController.java
.../com/mortals/xhx/module/error/web/ErrorLogController.java
+4
-4
No files found.
log-manager/src/main/java/com/mortals/xhx/module/access/web/AccessLogController.java
View file @
00478066
...
...
@@ -73,13 +73,16 @@ public class AccessLogController extends BaseCRUDJsonBodyMappingController<Acces
@UnAuth
public
String
save
(
@RequestBody
AccessLogEntity
entity
)
{
AccessLogPdu
accessLogPdu
=
new
AccessLogPdu
();
/*
AccessLogPdu accessLogPdu = new AccessLogPdu();
accessLogPdu.initAttrValue();
BeanUtils.copyProperties(entity, accessLogPdu, BeanUtil.getNullPropertyNames(entity));
messageProducer.syncAccessSend(accessLogPdu);
JSONObject ret = new JSONObject();
ret.put("code", VALUE_RESULT_SUCCESS);
return
ret
.
toJSONString
();
return ret.toJSONString();*/
return
super
.
save
(
entity
);
}
...
...
log-manager/src/main/java/com/mortals/xhx/module/biz/web/BizLogController.java
View file @
00478066
...
...
@@ -74,15 +74,15 @@ public class BizLogController extends BaseCRUDJsonBodyMappingController<BizLogSe
@Override
@UnAuth
public
String
save
(
@RequestBody
BizLogEntity
entity
)
{
BizLogPdu
bizLogPdu
=
new
BizLogPdu
();
/*
BizLogPdu bizLogPdu = new BizLogPdu();
bizLogPdu.initAttrValue();
BeanUtils.copyProperties(entity, bizLogPdu, BeanUtil.getNullPropertyNames(entity));
messageProducer.syncBizSend(bizLogPdu);
JSONObject ret = new JSONObject();
ret.put("code", VALUE_RESULT_SUCCESS);
return
ret
.
toJSONString
();
return ret.toJSONString();
*/
//
return super.save(entity);
return
super
.
save
(
entity
);
}
...
...
log-manager/src/main/java/com/mortals/xhx/module/error/web/ErrorLogController.java
View file @
00478066
...
...
@@ -83,12 +83,12 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
@UnAuth
public
String
save
(
@RequestBody
ErrorLogEntity
entity
)
{
ErrorLogPdu
errorLogPdu
=
new
ErrorLogPdu
();
/*
ErrorLogPdu errorLogPdu = new ErrorLogPdu();
errorLogPdu.initAttrValue();
BeanUtils.copyProperties(entity, errorLogPdu, BeanUtil.getNullPropertyNames(entity));
messageProducer
.
syncErrorSend
(
errorLogPdu
);
messageProducer.syncErrorSend(errorLogPdu);
*/
/*
ErrorLogQuery errorLogQuery = new ErrorLogQuery();
ErrorLogQuery
errorLogQuery
=
new
ErrorLogQuery
();
errorLogQuery
.
setAppName
(
entity
.
getAppName
());
errorLogQuery
.
setPlatform
(
entity
.
getPlatform
());
errorLogQuery
.
setErrorStack
(
entity
.
getErrorStack
());
...
...
@@ -97,7 +97,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
entity
.
setId
(
errorLogEntity
.
getId
());
entity
.
setCheckNum
(
errorLogEntity
.
getCheckNum
()
+
1
);
entity
.
setUpdateTime
(
new
Date
());
}
*/
}
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
"code"
,
VALUE_RESULT_SUCCESS
);
...
...
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