Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
map-parent
Commits
faaded02
Commit
faaded02
authored
Mar 04, 2023
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
操作日志使用真实ip(湖南)
parent
fbb3d65c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
common/service_base/src/main/java/com/founder/servicebase/controller/CodeYymcController/CodeYymcController.java
+2
-1
common/service_base/src/main/java/com/founder/servicebase/interceptor/TokenInterceptor.java
+1
-1
No files found.
common/service_base/src/main/java/com/founder/servicebase/controller/CodeYymcController/CodeYymcController.java
View file @
faaded02
...
...
@@ -13,6 +13,7 @@ import com.founder.commonutils.model.newPublicEntity.MapRestResult;
import
com.founder.commonutils.model.newPublicEntity.SysUser
;
import
com.founder.commonutils.util.HttpUtil
;
import
com.founder.commonutils.util.KeyUtilNaotu
;
import
com.founder.commonutils.util.NetworkUtil
;
import
com.founder.servicebase.logs.OperLog
;
import
com.founder.servicebase.logs.OperationType
;
import
com.founder.servicebase.mapper.mysqlMapper.CodeYymcMapper
;
...
...
@@ -197,7 +198,7 @@ public class CodeYymcController {
sysYhczrz
.
setYhdwGajgjgdm
(
user
.
getUnitcode
());
sysYhczrz
.
setYhdwGajgmc
(
user
.
getUnitname
());
sysYhczrz
.
setYhXm
(
user
.
getTrueName
());
sysYhczrz
.
setYhIp
(
user
.
getIp
());
sysYhczrz
.
setYhIp
(
NetworkUtil
.
getIpAddr
(
request
));
// IP使用真实ip
sysYhczrz
.
setYymcJyqk
(
skCodeYymc
.
getName
());
sysYhczrz
.
setYymcdm
(
logcode
);
sysYhczrz
.
setCzlxdm
(
skCodeYymc
.
getCzlxdm
());
...
...
common/service_base/src/main/java/com/founder/servicebase/interceptor/TokenInterceptor.java
View file @
faaded02
...
...
@@ -256,7 +256,7 @@ public class TokenInterceptor implements HandlerInterceptor {
sysYhczrz
.
setYhdwGajgjgdm
(
user
.
getUnitcode
());
sysYhczrz
.
setYhdwGajgmc
(
user
.
getUnitname
());
sysYhczrz
.
setYhXm
(
user
.
getTrueName
());
sysYhczrz
.
setYhIp
(
user
.
getIp
());
sysYhczrz
.
setYhIp
(
NetworkUtil
.
getIpAddr
(
request
));
// IP使用真实ip
sysYhczrz
.
setYymcJyqk
(
skCodeYymc
.
getName
());
sysYhczrz
.
setYymcdm
(
logcode
);
sysYhczrz
.
setCzlxdm
(
skCodeYymc
.
getCzlxdm
());
...
...
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