This commit is contained in:
aozhiwei 2024-06-03 19:31:32 +08:00
parent 3c8c2a5ed4
commit 167ab19560

View File

@ -1,6 +1,8 @@
package nft package nft
import ( import (
"f5"
"mt"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )
@ -9,23 +11,21 @@ type NftMetaApi struct {
} }
func (this *NftMetaApi) Hero(c *gin.Context) { func (this *NftMetaApi) Hero(c *gin.Context) {
rspObj := struct { f5.GetHttpCliMgr().SyncSendGoStyleRequest(
ErrCode int32 `json:"errcode"` mt.Table.Config.GetGameApiUrl(),
ErrMsg string `json:"errmsg"` map[string]string{
}{ "c": "OutAppNft",
ErrCode: 0, },
ErrMsg: "", func (rsp f5.HttpCliResponse) {
} })
c.JSON(200, rspObj)
} }
func (this *NftMetaApi) GoldBullion(c *gin.Context) { func (this *NftMetaApi) GoldBullion(c *gin.Context) {
rspObj := struct { f5.GetHttpCliMgr().SyncSendGoStyleRequest(
ErrCode int32 `json:"errcode"` mt.Table.Config.GetGameApiUrl(),
ErrMsg string `json:"errmsg"` map[string]string{
}{ "c": "OutAppNft",
ErrCode: 0, },
ErrMsg: "", func (rsp f5.HttpCliResponse) {
} })
c.JSON(200, rspObj)
} }