Commit 7473734d authored by wlx@33.cn's avatar wlx@33.cn

修正nft获取tokenId

parent d47d0099
......@@ -58,10 +58,11 @@ public class GoodsSpuVO {
private Integer nftSalesType;
public void initTokenId() {
if (commodityPass.equals(COMMODITY_PASS_OUT)) {
setTokenId(Long.valueOf(tokenIdStr));
} else if (commodityPass.equals(COMMODITY_PASS_AUTO) && type == 6) {
setTokenId(Long.valueOf(getTokenIdStr().replace(MALLGlobalConfig.NFT_PREFIX, "")));
}
setTokenId(Long.valueOf(getTokenIdStr().replace(MALLGlobalConfig.NFT_PREFIX, "")));
// if (commodityPass.equals(COMMODITY_PASS_OUT)) {
// setTokenId(Long.valueOf(tokenIdStr));
// } else if (commodityPass.equals(COMMODITY_PASS_AUTO) && type == 6) {
// setTokenId(Long.valueOf(getTokenIdStr().replace(MALLGlobalConfig.NFT_PREFIX, "")));
// }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment