From 74740dc449d474a99c2e0852c0fea7a0f1be0f59 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 16 Jun 2024 15:19:20 +0800 Subject: [PATCH] 1 --- server/marketserver/cache/cachemgr.go | 5 ++++- server/marketserver/global/global.go | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/server/marketserver/cache/cachemgr.go b/server/marketserver/cache/cachemgr.go index 27a49f80..ec2f0e91 100644 --- a/server/marketserver/cache/cachemgr.go +++ b/server/marketserver/cache/cachemgr.go @@ -59,7 +59,7 @@ func (this *cacheMgr) internalGetNft(dto *common.NftDto) { map[string]string{ "c": "OutAppNft", "a": "nftDetail", - "nft_type": "hero", + "contract_address": dto.ContractAddress, "net_id": q5.ToString(dto.NetId), "token_id": dto.TokenId, }, @@ -75,3 +75,6 @@ func (this *cacheMgr) internalGetNft(dto *common.NftDto) { } } } + +func (this *cacheMgr) batchGetNfts(nfts []*common.NftDto) { +} diff --git a/server/marketserver/global/global.go b/server/marketserver/global/global.go index b130ebb8..3219c404 100644 --- a/server/marketserver/global/global.go +++ b/server/marketserver/global/global.go @@ -11,6 +11,7 @@ var modules [constant.MAX_MODULE_IDX]q5.Module var initOrders = []int32{ constant.ROUTER_MGR_MODULE_IDX, constant.TASK_MGR_MODULE_IDX, + constant.CACHE_MGR_MODULE_IDX, } var app common.App