Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
lei
fzm-joying
Commits
db8c5d8a
Commit
db8c5d8a
authored
Jul 20, 2021
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
13076993
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
NftController.java
...rc/main/java/com/fzm/portal/controller/NftController.java
+1
-1
No files found.
joying-portal/src/main/java/com/fzm/portal/controller/NftController.java
View file @
db8c5d8a
...
@@ -120,7 +120,7 @@ public class NftController {
...
@@ -120,7 +120,7 @@ public class NftController {
nftVo
.
setCategory
(
categoryService
.
getById
(
nft
.
getCategoryId
()).
getCategoryName
());
nftVo
.
setCategory
(
categoryService
.
getById
(
nft
.
getCategoryId
()).
getCategoryName
());
if
(
StringUtils
.
isNotBlank
(
Authorization
))
{
if
(
StringUtils
.
isNotBlank
(
Authorization
))
{
String
realToken
=
Authorization
.
substring
(
TokenConstant
.
TOKEN_PREFIX
.
length
());
String
realToken
=
Authorization
.
substring
(
TokenConstant
.
TOKEN_PREFIX
.
length
());
if
(
StringUtils
.
isNotBlank
(
realToken
)
&&
"null"
.
equals
(
realToken
))
{
if
(
StringUtils
.
isNotBlank
(
realToken
)
&&
!
"null"
.
equals
(
realToken
))
{
Integer
userId
=
JwtUtil
.
getUserIdFromToken
(
Authorization
);
Integer
userId
=
JwtUtil
.
getUserIdFromToken
(
Authorization
);
Boolean
collection
=
redisUtil
.
sIsMember
(
RedisConstant
.
COLLECTION_USER_PREFIX
+
userId
,
id
.
toString
());
Boolean
collection
=
redisUtil
.
sIsMember
(
RedisConstant
.
COLLECTION_USER_PREFIX
+
userId
,
id
.
toString
());
nftVo
.
setCollection
(
collection
);
nftVo
.
setCollection
(
collection
);
...
...
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