This commit is contained in:
aozhiwei 2024-06-22 16:14:39 +08:00
parent 262a733c3d
commit a8047eaada

View File

@ -37,7 +37,7 @@ func (this *NftDetailApi) Hero(c *gin.Context) {
func (this *NftDetailApi) GoldBullion(c *gin.Context) { func (this *NftDetailApi) GoldBullion(c *gin.Context) {
netId := q5.ToInt32(c.Param("netId")) netId := q5.ToInt32(c.Param("netId"))
tokenId := c.Param("tokenId") tokenId := c.Param("tokenId")
contractMeta := mt.Table.Contract.GetByNetIdName(netId, constant.CONTRACT_NAME_CFHero) contractMeta := mt.Table.Contract.GetByNetIdName(netId, constant.CONTRACT_NAME_GoldBrick)
contractAddress := "" contractAddress := ""
if contractMeta != nil { if contractMeta != nil {
contractAddress = contractMeta.GetAddress() contractAddress = contractMeta.GetAddress()