From c0b11c8471130a815b233d2c1e4790884dbb7a52 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 22 Jun 2024 17:40:54 +0800 Subject: [PATCH] 1 --- server/marketserver/cache/cachemgr.go | 2 +- server/nftserver/api/v1/nft/nftdetail.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/marketserver/cache/cachemgr.go b/server/marketserver/cache/cachemgr.go index f84913ea..9eefe1de 100644 --- a/server/marketserver/cache/cachemgr.go +++ b/server/marketserver/cache/cachemgr.go @@ -59,7 +59,7 @@ func (this *cacheMgr) internalGetNft(dto *common.NftDto) { mt.Table.Config.GetGameApiUrl() + "/webapp/index.php", map[string]string{ "c": "OutAppNft", - "a": "nftDetail", + "a": "nftDetailByContractAddress", "contract_address": dto.ContractAddress, "net_id": q5.ToString(dto.NetId), "token_id": dto.TokenId, diff --git a/server/nftserver/api/v1/nft/nftdetail.go b/server/nftserver/api/v1/nft/nftdetail.go index 9bf58d1c..035f38f7 100644 --- a/server/nftserver/api/v1/nft/nftdetail.go +++ b/server/nftserver/api/v1/nft/nftdetail.go @@ -24,7 +24,7 @@ func (this *NftDetailApi) Hero(c *gin.Context) { mt.Table.Config.GetGameApiUrl() + "/webapp/index.php", map[string]string{ "c": "OutAppNft", - "a": "nftDetail", + "a": "nftDetailByTokenType", //"contract_address": contractAddress, "net_id": q5.ToString(netId), "token_type": q5.ToString(jccommon.NFT_TYPE_CFHERO), @@ -48,7 +48,7 @@ func (this *NftDetailApi) GoldBullion(c *gin.Context) { mt.Table.Config.GetGameApiUrl() + "/webapp/index.php", map[string]string{ "c": "OutAppNft", - "a": "nftDetail", + "a": "nftDetailByTokenType", //"contract_address": contractAddress, "net_id": q5.ToString(netId), "token_type": q5.ToString(jccommon.NFT_TYPE_GOLD_BULLION),