This commit is contained in:
aozhiwei 2024-06-22 17:42:48 +08:00
parent c0b11c8471
commit f36441109a

View File

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