Commit 9a4346df authored by tangtuo's avatar tangtuo

修改nft上链逻辑

parent fd0c287a
......@@ -92,7 +92,7 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe
HashMap<String, String> map = new HashMap<>();
map.put("author", nft.getAuthor());
map.put("name", nft.getName());
map.put("hash", nft.getNftHash());
map.put("hash", nft.getFileHash());
String tokenInfo = JsonUtil.toJson(map);
log.info("加密上链数据: {}", tokenInfo);
String tradeHash = paraChainClient.evmSetTokenInfo(contractName, tokenId, tokenInfo, wallet, privkey, true);
......
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