From 59c34f1455849324a7f491f01afce74568d9c2c2 Mon Sep 17 00:00:00 2001 From: jagger Date: Thu, 17 Oct 2024 21:35:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E6=B3=A8=E9=87=8A=E9=9B=86?= =?UTF-8?q?=E7=BE=A4=E7=BB=8F=E7=BA=AC=E5=BA=A6=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jagger --- internal/logic/adapters/createclusterlogic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/logic/adapters/createclusterlogic.go b/internal/logic/adapters/createclusterlogic.go index 58c7679c..c42b17ec 100644 --- a/internal/logic/adapters/createclusterlogic.go +++ b/internal/logic/adapters/createclusterlogic.go @@ -44,8 +44,8 @@ func (l *CreateClusterLogic) CreateCluster(req *types.ClusterCreateReq) (resp *t cluster.CreateTime = time.Now().Format("2006-01-02 15:04:05") cluster.OwnerId = "0" // 获取集群经纬度 - location, err := GeoMap(req.RegionName) - cluster.Location = location + //location, err := GeoMap(req.RegionName) + //cluster.Location = location cluster.Id = tool.GenSnowflakeIDStr() tx := l.svcCtx.DbEngin.Table("t_cluster").Create(&cluster)