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