Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
Project
Project
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
曲欣亮
member-api
Commits
2b7715ae
Commit
2b7715ae
authored
Nov 22, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xxx
parent
e9aa114f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
AdminTokenServiceImpl.java
...lm/film/api/admin/service/impl/AdminTokenServiceImpl.java
+1
-1
MemberTokenServiceImpl.java
.../film/api/member/service/impl/MemberTokenServiceImpl.java
+1
-1
UserTokenServiceImpl.java
...golm/film/api/user/service/impl/UserTokenServiceImpl.java
+1
-1
No files found.
src/main/java/com/egolm/film/api/admin/service/impl/AdminTokenServiceImpl.java
View file @
2b7715ae
...
@@ -108,7 +108,7 @@ public class AdminTokenServiceImpl implements AdminTokenService {
...
@@ -108,7 +108,7 @@ public class AdminTokenServiceImpl implements AdminTokenService {
String
path
=
request
.
getRequestURI
().
replace
(
request
.
getContextPath
(),
""
);
String
path
=
request
.
getRequestURI
().
replace
(
request
.
getContextPath
(),
""
);
String
prefix
=
path
.
split
(
"/"
)[
1
];
String
prefix
=
path
.
split
(
"/"
)[
1
];
String
content
=
JSON
.
toJSONString
(
request
.
getParameterMap
());
String
content
=
JSON
.
toJSONString
(
request
.
getParameterMap
());
String
ip
=
ServletUtil
.
re
adReqJson
(
request
);
String
ip
=
ServletUtil
.
re
moteIp
(
request
);
String
sql
=
"insert into fc_logs (type, loginid, prefix, path, ip, content, create_time) values (?, ?, ?, ?, ?, ?, ?)"
;
String
sql
=
"insert into fc_logs (type, loginid, prefix, path, ip, content, create_time) values (?, ?, ?, ?, ?, ?, ?)"
;
Object
[]
objs
=
new
Object
[]{
LOG_TYPE
,
loginid
,
prefix
,
path
,
ip
,
content
,
now
};
Object
[]
objs
=
new
Object
[]{
LOG_TYPE
,
loginid
,
prefix
,
path
,
ip
,
content
,
now
};
jdbcTemplate
.
executeUpdate
(
sql
,
objs
);
jdbcTemplate
.
executeUpdate
(
sql
,
objs
);
...
...
src/main/java/com/egolm/film/api/member/service/impl/MemberTokenServiceImpl.java
View file @
2b7715ae
...
@@ -112,7 +112,7 @@ public class MemberTokenServiceImpl implements MemberTokenService {
...
@@ -112,7 +112,7 @@ public class MemberTokenServiceImpl implements MemberTokenService {
String
path
=
request
.
getRequestURI
().
replace
(
request
.
getContextPath
(),
""
);
String
path
=
request
.
getRequestURI
().
replace
(
request
.
getContextPath
(),
""
);
String
prefix
=
path
.
split
(
"/"
)[
1
];
String
prefix
=
path
.
split
(
"/"
)[
1
];
String
content
=
JSON
.
toJSONString
(
request
.
getParameterMap
());
String
content
=
JSON
.
toJSONString
(
request
.
getParameterMap
());
String
ip
=
ServletUtil
.
re
adReqJson
(
request
);
String
ip
=
ServletUtil
.
re
moteIp
(
request
);
String
sql
=
"insert into fc_logs (type, loginid, prefix, path, ip, content, create_time) values (?, ?, ?, ?, ?, ?, ?)"
;
String
sql
=
"insert into fc_logs (type, loginid, prefix, path, ip, content, create_time) values (?, ?, ?, ?, ?, ?, ?)"
;
Object
[]
objs
=
new
Object
[]{
LOG_TYPE
,
loginid
,
prefix
,
path
,
ip
,
content
,
now
};
Object
[]
objs
=
new
Object
[]{
LOG_TYPE
,
loginid
,
prefix
,
path
,
ip
,
content
,
now
};
jdbcTemplate
.
executeUpdate
(
sql
,
objs
);
jdbcTemplate
.
executeUpdate
(
sql
,
objs
);
...
...
src/main/java/com/egolm/film/api/user/service/impl/UserTokenServiceImpl.java
View file @
2b7715ae
...
@@ -103,7 +103,7 @@ public class UserTokenServiceImpl implements UserTokenService {
...
@@ -103,7 +103,7 @@ public class UserTokenServiceImpl implements UserTokenService {
String
path
=
request
.
getRequestURI
().
replace
(
request
.
getContextPath
(),
""
);
String
path
=
request
.
getRequestURI
().
replace
(
request
.
getContextPath
(),
""
);
String
prefix
=
path
.
split
(
"/"
)[
1
];
String
prefix
=
path
.
split
(
"/"
)[
1
];
String
content
=
JSON
.
toJSONString
(
request
.
getParameterMap
());
String
content
=
JSON
.
toJSONString
(
request
.
getParameterMap
());
String
ip
=
ServletUtil
.
re
adReqJson
(
request
);
String
ip
=
ServletUtil
.
re
moteIp
(
request
);
String
sql
=
"insert into fc_logs (type, loginid, prefix, path, ip, content, create_time) values (?, ?, ?, ?, ?, ?, ?)"
;
String
sql
=
"insert into fc_logs (type, loginid, prefix, path, ip, content, create_time) values (?, ?, ?, ?, ?, ?, ?)"
;
Object
[]
objs
=
new
Object
[]{
LOG_TYPE
,
loginid
,
prefix
,
path
,
ip
,
content
,
now
};
Object
[]
objs
=
new
Object
[]{
LOG_TYPE
,
loginid
,
prefix
,
path
,
ip
,
content
,
now
};
jdbcTemplate
.
executeUpdate
(
sql
,
objs
);
jdbcTemplate
.
executeUpdate
(
sql
,
objs
);
...
...
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