Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tax-sys-nacos
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
caoxiaohong
tax-sys-nacos
Commits
0ded4f33
Commit
0ded4f33
authored
Jun 05, 2024
by
ddx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改清除md5默认值
parent
14da758b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
tax-common/src/main/java/com/yxcheng/token/utils/MD5Util.java
+2
-4
tax-token/token-service/src/main/java/com/tax/token/service/impl/TkTokenServiceImpl.java
+2
-1
No files found.
tax-common/src/main/java/com/yxcheng/token/utils/MD5Util.java
View file @
0ded4f33
package
com
.
yxcheng
.
token
.
utils
;
import
com.yxcheng.token.common.model.TaxUserInfo
;
import
java.security.MessageDigest
;
public
class
MD5Util
{
...
...
@@ -57,8 +59,4 @@ public class MD5Util {
private
static
final
String
hexDigits
[]
=
{
"0"
,
"1"
,
"2"
,
"3"
,
"4"
,
"5"
,
"6"
,
"7"
,
"8"
,
"9"
,
"a"
,
"b"
,
"c"
,
"d"
,
"e"
,
"f"
};
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
MD5Util
.
MD5Encode
(
"91310118MA1JPDDL2G"
+
"2"
+
"81"
+
"2021-12-01"
+
"2021-12-31"
));
}
}
tax-token/token-service/src/main/java/com/tax/token/service/impl/TkTokenServiceImpl.java
View file @
0ded4f33
...
...
@@ -898,8 +898,9 @@ public class TkTokenServiceImpl implements TkTokenService {
if
(
loginInfoJson
.
containsKey
(
"userType"
))
{
bean
.
setUserType
(
loginInfoJson
.
getString
(
"userType"
));
}
bean
.
setLoginType
(
"b"
);
newUserInfo
=
bean
.
toString
();
}
else
{
}
else
{
newUserInfo
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
cookieReq
.
getUserInfoJson
()),
TaxUserInfo
.
class
).
toString
();
}
logger
.
info
(
uuId
+
" cleanCookie taxno is "
+
taxno
+
", newUserInfo is "
+
newUserInfo
);
...
...
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