From 663892a380eaa24d29407f66fcbe3dba50f45259 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 22 Jul 2024 19:31:05 +0800 Subject: [PATCH] 1 --- server/marketserver/api/v1/ingame/ingame.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/marketserver/api/v1/ingame/ingame.go b/server/marketserver/api/v1/ingame/ingame.go index c92992bf..434958af 100644 --- a/server/marketserver/api/v1/ingame/ingame.go +++ b/server/marketserver/api/v1/ingame/ingame.go @@ -3,7 +3,7 @@ package ingame import ( "q5" "f5" - //"mt" + "mt" "main/common" "main/constant" . "main/global" @@ -121,7 +121,7 @@ func (this *InGameApi) HeroMint(c *gin.Context) { }{ } f5.GetHttpCliMgr().SendGoStyleRequest( - "https://game2006api-test.kingsome.cn/webapp/index.php", + mt.Table.Config.GetGameApiUrl() + "/webapp/index.php", params, func(rsp f5.HttpCliResponse) { if rsp.GetErr() != nil { @@ -195,7 +195,7 @@ func (this *InGameApi) newHeroMint(c *gin.Context) { }{ } f5.GetHttpCliMgr().SendGoStyleRequest( - "https://game2006api-test.kingsome.cn/webapp/index.php", + mt.Table.Config.GetGameApiUrl() + "/webapp/index.php", params, func(rsp f5.HttpCliResponse) { if rsp.GetErr() != nil {