diff --git a/server/nftserver/api/v1/nft/nftmeta.go b/server/nftserver/api/v1/nft/nftmeta.go index 87c4f4c3..5674c82e 100644 --- a/server/nftserver/api/v1/nft/nftmeta.go +++ b/server/nftserver/api/v1/nft/nftmeta.go @@ -1,8 +1,10 @@ package nft import ( + "q5" "f5" "mt" + "jccommon" "main/common" "github.com/gin-gonic/gin" ) @@ -19,8 +21,8 @@ func (this *NftMetaApi) Hero(c *gin.Context) { map[string]string{ "c": "OutAppNft", "a": "nftMetaView", - "nft_type": "hero", "net_id": netId, + "token_type": q5.ToString(jccommon.NFT_TYPE_CFHERO), "token_id": tokenId, }, func (rsp f5.HttpCliResponse) { @@ -36,8 +38,8 @@ func (this *NftMetaApi) GoldBullion(c *gin.Context) { map[string]string{ "c": "OutAppNft", "a": "nftMetaView", - "nft_type": "gold_bullion", "net_id": netId, + "token_type": q5.ToString(jccommon.NFT_TYPE_GOLD_BULLION), "token_id": tokenId, }, func (rsp f5.HttpCliResponse) {