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
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) {