Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mall-server
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
yimu
mall-server
Commits
7473734d
Commit
7473734d
authored
Dec 24, 2021
by
wlx@33.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正nft获取tokenId
parent
d47d0099
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
GoodsSpuVO.java
.../mall/server/admin/goods_center/entity/vo/GoodsSpuVO.java
+6
-5
No files found.
mall-server-admin/src/main/java/com/fzm/mall/server/admin/goods_center/entity/vo/GoodsSpuVO.java
View file @
7473734d
...
@@ -58,10 +58,11 @@ public class GoodsSpuVO {
...
@@ -58,10 +58,11 @@ public class GoodsSpuVO {
private
Integer
nftSalesType
;
private
Integer
nftSalesType
;
public
void
initTokenId
()
{
public
void
initTokenId
()
{
if
(
commodityPass
.
equals
(
COMMODITY_PASS_OUT
))
{
setTokenId
(
Long
.
valueOf
(
getTokenIdStr
().
replace
(
MALLGlobalConfig
.
NFT_PREFIX
,
""
)));
setTokenId
(
Long
.
valueOf
(
tokenIdStr
));
// if (commodityPass.equals(COMMODITY_PASS_OUT)) {
}
else
if
(
commodityPass
.
equals
(
COMMODITY_PASS_AUTO
)
&&
type
==
6
)
{
// setTokenId(Long.valueOf(tokenIdStr));
setTokenId
(
Long
.
valueOf
(
getTokenIdStr
().
replace
(
MALLGlobalConfig
.
NFT_PREFIX
,
""
)));
// } else if (commodityPass.equals(COMMODITY_PASS_AUTO) && type == 6) {
}
// setTokenId(Long.valueOf(getTokenIdStr().replace(MALLGlobalConfig.NFT_PREFIX, "")));
// }
}
}
}
}
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