1
This commit is contained in:
parent
b279049d2d
commit
e234b2113f
@ -65,7 +65,7 @@ func (this *NftMetaApi) GoldBullion(c *gin.Context) {
|
||||
}
|
||||
|
||||
func (this *NftMetaApi) HeroHome(c *gin.Context) {
|
||||
meta := mt.Table.NftHomeMeta.GetNewHeroMeta()
|
||||
meta := mt.Table.NftHomeMeta.GetHeroMeta()
|
||||
rspObj := new(common.NftHomeMeta)
|
||||
if meta != nil {
|
||||
rspObj.Name = meta.GetNftName()
|
||||
@ -78,7 +78,7 @@ func (this *NftMetaApi) HeroHome(c *gin.Context) {
|
||||
}
|
||||
|
||||
func (this *NftMetaApi) NewHeroHome(c *gin.Context) {
|
||||
meta := mt.Table.NftHomeMeta.GetHeroMeta()
|
||||
meta := mt.Table.NftHomeMeta.GetNewHeroMeta()
|
||||
rspObj := new(common.NftHomeMeta)
|
||||
if meta != nil {
|
||||
rspObj.Name = meta.GetNftName()
|
||||
|
@ -13,6 +13,6 @@ func (this *NftMetaRouter) InitRouter() {
|
||||
f5.GetApp().GetGinEngine().GET("/newhero/meta/:netId/:tokenId", api.NftMetaApi.NewHero)
|
||||
f5.GetApp().GetGinEngine().GET("/gold_bullion/meta/:netId/:tokenId", api.NftMetaApi.GoldBullion)
|
||||
f5.GetApp().GetGinEngine().GET("/hero/home_meta/:netId", api.NftMetaApi.HeroHome)
|
||||
f5.GetApp().GetGinEngine().GET("/new/hero/home_meta/:netId", api.NftMetaApi.NewHeroHome)
|
||||
f5.GetApp().GetGinEngine().GET("/newhero/home_meta/:netId", api.NftMetaApi.NewHeroHome)
|
||||
f5.GetApp().GetGinEngine().GET("/gold_bullion/home_meta/:netId", api.NftMetaApi.GoldBullionHome)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user