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