This commit is contained in:
aozhiwei 2024-06-22 17:40:54 +08:00
parent 530c9005f9
commit c0b11c8471
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ func (this *cacheMgr) internalGetNft(dto *common.NftDto) {
mt.Table.Config.GetGameApiUrl() + "/webapp/index.php", mt.Table.Config.GetGameApiUrl() + "/webapp/index.php",
map[string]string{ map[string]string{
"c": "OutAppNft", "c": "OutAppNft",
"a": "nftDetail", "a": "nftDetailByContractAddress",
"contract_address": dto.ContractAddress, "contract_address": dto.ContractAddress,
"net_id": q5.ToString(dto.NetId), "net_id": q5.ToString(dto.NetId),
"token_id": dto.TokenId, "token_id": dto.TokenId,

View File

@ -24,7 +24,7 @@ func (this *NftDetailApi) Hero(c *gin.Context) {
mt.Table.Config.GetGameApiUrl() + "/webapp/index.php", mt.Table.Config.GetGameApiUrl() + "/webapp/index.php",
map[string]string{ map[string]string{
"c": "OutAppNft", "c": "OutAppNft",
"a": "nftDetail", "a": "nftDetailByTokenType",
//"contract_address": contractAddress, //"contract_address": contractAddress,
"net_id": q5.ToString(netId), "net_id": q5.ToString(netId),
"token_type": q5.ToString(jccommon.NFT_TYPE_CFHERO), "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", mt.Table.Config.GetGameApiUrl() + "/webapp/index.php",
map[string]string{ map[string]string{
"c": "OutAppNft", "c": "OutAppNft",
"a": "nftDetail", "a": "nftDetailByTokenType",
//"contract_address": contractAddress, //"contract_address": contractAddress,
"net_id": q5.ToString(netId), "net_id": q5.ToString(netId),
"token_type": q5.ToString(jccommon.NFT_TYPE_GOLD_BULLION), "token_type": q5.ToString(jccommon.NFT_TYPE_GOLD_BULLION),