From 86f87dabdaa80ca3113c9b43b6c0b57f487c292d Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 4 Jun 2024 10:34:40 +0800 Subject: [PATCH] 1 --- server/nftserver/api/v1/nft/nftmeta.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server/nftserver/api/v1/nft/nftmeta.go b/server/nftserver/api/v1/nft/nftmeta.go index 194fb063..d267c329 100644 --- a/server/nftserver/api/v1/nft/nftmeta.go +++ b/server/nftserver/api/v1/nft/nftmeta.go @@ -15,8 +15,13 @@ func (this *NftMetaApi) Hero(c *gin.Context) { mt.Table.Config.GetGameApiUrl(), map[string]string{ "c": "OutAppNft", + "a": "nftMetaView", + "nft_type": "hero", + "net_id": "", + "token_id": "", }, func (rsp f5.HttpCliResponse) { + c.String(200, rsp.GetRawData()) }) } @@ -25,7 +30,12 @@ func (this *NftMetaApi) GoldBullion(c *gin.Context) { mt.Table.Config.GetGameApiUrl(), map[string]string{ "c": "OutAppNft", + "a": "nftMetaView", + "nft_type": "gold_bullion", + "net_id": "", + "token_id": "", }, func (rsp f5.HttpCliResponse) { + c.String(200, rsp.GetRawData()) }) }