15 lines
347 B
Go
15 lines
347 B
Go
package nft
|
|
|
|
import (
|
|
"f5"
|
|
"main/api/v1"
|
|
)
|
|
|
|
type NftDetailRouter struct{}
|
|
|
|
func (this *NftDetailRouter) InitRouter() {
|
|
api := v1.ApiGroupApp.NftApiGroup
|
|
f5.GetApp().GetGinEngine().GET("/hero/detail/:netId/:tokenId", api.NftDetailApi.Hero)
|
|
f5.GetApp().GetGinEngine().GET("/gold_bullion/detail/:netId/:tokenId", api.NftDetailApi.GoldBullion)
|
|
}
|